Text Font Tag: This tag is used to change the text size, color, and face of the text.
Font Tag Attributes:
a) Color: It specify the color of the text to be displayed in html document by setting its color or by predefined color.
b) Face: This attribute specifies the format or face the text to be displayed.
c) Size: This attribute specifies the size of the text to be displayed
Example:
<font size = 10 color = ” blue” face = “Arial”>
Welcome To Webnoid Schools
</font>
Example Program
<html>
<!– Stylizing our text –>
<head>
<title> HTML Program </title>
</head>
<body BGCOLOR = “black”>
<h1 align = “center”>
<u>
Welcome to our website
</u>
</h1>
<p>
This Website teaches you about
<i> Computer Languages </i>
This is post is about
<b> HTML </b>
And
<u>
<strong>
Example Program
</strong>
</u>
You can learn all the computer languages.
<font size = 10 face = “Webnoid Schools” color = “red”>
is a good website to learn
<em> Computer Languages </em>
</p>
<h2 align = “center”>
Have fun with this website
</h2>
<br> <br>
Using the Superscript
<p> a<sup>2 </sup>+b<sup>2</sup>
</body>
</html>