FONT (<font>) Tag

by Jai 06-Jul-19

0 203


The <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

Leave a Reply