HTML page with 7 separate lines of a different size.

Lab Course 2 / Exercise 1 / Set A

<html>
<head>
<title>
Exercise 2 | Set A </head>
</title>
<body bgcolor="yellow"> 
<font size="1" >First line with size 1</font><br>
<font size="2" >Second line with size 2</font></br>
<font size="3" >third line with size 3</font><br>
<font size="4" >forth line with size 4</font></br>
<font size="5" >fifth line with size 5</font><br>
<font size="6" >sixth line with size 6</font></br>
<font size="7" >seventh line with size 7</font></br>
</body>
</html>

Output: Save the file as Q1.html and open it with Chrome or any browser.

By Admin

3 thoughts on “Q1. Create an HTML page with 7 separate lines of a different size. State the size of each line in its text.”
  1. I blog frequently and I really appreciate your information. This article has
    truly peaked my interest. I am going to book
    mark your blog and keep checking for new details about once per week.
    I opted in for your RSS feed too.

Leave a Reply

Your email address will not be published. Required fields are marked *