The <FONT> Element (Depreciated)
The <font> element allows you to control the presentation of the text – Its size, the typeface, and color. It has been deprecated, so its use should be avoided, but you are likely to come across it.
HTML Code
<p> Using Font Element </p>
<font face='Times New Roman, Arial, verdana' size='2' color='#f00'>
The font element is used to control the presentation of the text
</font>
HTML Output
Using Font Element
The font element is used to control the presentation of the text
Front Element Take Attributes
- Face = It takes the fonts name.
- Size = Size of text in terms of number.
- Color = Color name or Hexadecimal code of color.