Exercise
Exercise
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
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.