0% found this document useful (0 votes)
5 views

HTML Exercise - 1

The document provides instructions for completing HTML exercises including printing text in different formats, styles, and colors; displaying lists; adding images; and creating links.

Uploaded by

Jayasree.ravi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

HTML Exercise - 1

The document provides instructions for completing HTML exercises including printing text in different formats, styles, and colors; displaying lists; adding images; and creating links.

Uploaded by

Jayasree.ravi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

HTML Exercise – 1 :

 Print your name in green.


 Print the numbers 1 - 10, each number being a different color.
 Prints your name in a Tahoma font.
 Print a paragraph with 4 - 5 sentences. Each sentence should be a different font.
 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.
 Print your name to the screen with every letter being a different heading size.
 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.
 Prints 5 names with a line break between each name. The list should be
alphabetized, and to do this place a subscripted number next to each name based
on where it will go in the alphabetized list. (Example: Alan 1). Print first, the
unalphabetized list with a subscript number next to each name, then the
alphabetized list. Both lists should have an <h1> level heading.
 Print two lists with any information you want. One list should be an ordered list,
the other list should be an unordered list.
 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.
 Display five different images. Skip two lines between each image. Each image
should have a title.
 Display an image that has a border of size 2, a width of 200, and a height of
200.
 Display an image that when clicked will link to a search engine of your choice
(should be opened in a new window).
 Display an image that when clicked will link to itself and will display the image
in the browser by itself.

You might also like