Write a HTML program to demonstrate FONT TAG and its attributes (write minimum three lines aboyt you)
Answers
Answered by
2
Answer:
<html>
<head>
<title>Font Tag</title>
</head>
<body>
<h1>Your heading goes here</h1>
<p><font color="red" face="Verdana, Geneva, sans-serif" size="+1">Your desired formatted text goes here</font></p>
</body>
</html>
Attributes:
◘ Color: Color of text in either hexadecimal (ie: #RRGGBB format) or named color (ie: black, red, white)
◘Face: Font to use for text. Listed as one or more font names (comma separated)
◘Size: Font size expressed as either a numeric or relative value.
Hope it helps :)
Similar questions