100% found this document useful (1 vote)
194 views

Exercise

The document provides instructions for 4 exercises to learn basic HTML tags. Exercise 1 focuses on creating a simple HTML page and adding tags like headers, paragraphs, and breaks. Exercise 2 covers adding background colors and formatting text. Exercise 3 demonstrates font attributes. Exercise 4 prints formatted text using different HTML tags like headings, superscript, preformatted text, and horizontal rules.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
194 views

Exercise

The document provides instructions for 4 exercises to learn basic HTML tags. Exercise 1 focuses on creating a simple HTML page and adding tags like headers, paragraphs, and breaks. Exercise 2 covers adding background colors and formatting text. Exercise 3 demonstrates font attributes. Exercise 4 prints formatted text using different HTML tags like headings, superscript, preformatted text, and horizontal rules.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Exercise – 1.

1. Create a simple HTML document about yourself or a topic of your choice using the
basic tags. (Keep it simple for this exercise)
2. Add bold and italic words to your document, save and view.
3. Add a header to your document, save and view.
4. Add paragraph and break tags to your document, save and view.
5. Add a horizontal rule where appropriate, save and view.

Exercise – 1.2

1. Write HTML code to develop a web page having the background in red and title “My
First Page” in any other color.
2. Create a HTML document giving details of your name, age, telephone, address, PIN
code & enrollment no. aligned in proper order.
3. Write HTML code to design a page containing a text in a paragraph give suitable
heading style.

Exercise – 1.3

1. Create a page to show different attribute of Font tag.


2. Create a page to show different attribute italic, bold, underline.
3. Design a page having background color given text color red and using all the attributes
of font tab.

Exercise – 1.4

1. Print a paragraph that is a description of a book, include the title of the book as well as
its author. Names and titles should be underlined, adjectives should be italicized and
bolded.
2. Print your name to the screen with every letter being a different heading size
3. Print the squares of the numbers 1 - 20. Each number should be on a separate line, next
to it the number 2 superscripted, an equal sign and the result. (Example: 102 = 100)
4. Print some preformatted text of your choosing.
5. Prints an h1 level heading followed by a horizontal line whose width is 100%. Below
the horizontal line print a paragraph relating to the text in the heading.

You might also like