HTML <font> tag:
HTML <font> tag is used to define the font style for the text contained within it. It defines the font size, color, and face or the text in an HTML document.
Example:
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<p><font size="1" color="red" face="monotype corsiva">Rajneesh</font><br>
<font size="2" color="red" face="Timesnew Roman">Rajneesh</font><br>
<font size="3" color="red" face="vardana">Rajneesh</font><br>
<font size="4" color="red" face="comic sans MS">Rajneesh</font><br>
<font size="5" color="red" face="impact">Rajneesh</font><br>
<font size="6" color="red" face="Arial">Rajneesh</font><br>
<font size="7" color="red" face="monotype corsiva">Rajneesh</font><br>
</p>
</body>
</html>
No comments:
Post a Comment