2. Illustrate font variations in your HTML code.
2. Illustrate font variations in your HTML code?
program:-
<!doctype html>
<html>
<head>
<title>font variations in html</title>
</head>
<body>
<p>this is a paragraph</p>
<font color="red">
<font size="1">the size of the font 1</font><br>
<font size="2">the size of the font 2</font><br>
<font size="3">the size of the is 3</font><br>
<font size="4">the size of the text is 4</font><br>
<font size="5">the size of the text is 5</font></font><br>
<font face="Ravie"><font color="green">hi this is a new font phase</font></font><br>
<font face="Arial Rounded MT">this is another font style</font>
</body>
</html>
output:-
this is a paragraph
the size of the font 1
the size of the font 2
the size of the is 3
the size of the text is 4
the size of the text is 5
hi this is a new font phase
this is another font style
note:-if any query comment me
program:-
<!doctype html>
<html>
<head>
<title>font variations in html</title>
</head>
<body>
<p>this is a paragraph</p>
<font color="red">
<font size="1">the size of the font 1</font><br>
<font size="2">the size of the font 2</font><br>
<font size="3">the size of the is 3</font><br>
<font size="4">the size of the text is 4</font><br>
<font size="5">the size of the text is 5</font></font><br>
<font face="Ravie"><font color="green">hi this is a new font phase</font></font><br>
<font face="Arial Rounded MT">this is another font style</font>
</body>
</html>
output:-
this is a paragraph
the size of the font 1
the size of the font 2
the size of the is 3
the size of the text is 4
the size of the text is 5
hi this is a new font phase
this is another font style
note:-if any query comment me
Comments
Post a Comment