FONT (<font>) Tag
0 2844
The HTML Font <font> tag is used in HTML for representing the font size, color and shape.
HTML5 does not support this tag. So, there we can use CSS.
Program:
<!DOCTYPE html>
<html>
<head>
<title>Font Tag</title>
</head>
<body>
<p><font size="3" color="green">My name is Trisha!</font></p>
<p><font face="arial" color="green">My name is Trisha!</font></p>
<p><strong>Note:</strong> The font Tag is not supported in HTML5.</p>
</body>
</html>
Output:
My name is Trisha!
My name is Trisha!
Note: The font Tag is not supported in HTML5.
Share:
Comments
Waiting for your comments