HTML - Font Element Tag (Deprecated)

The Element (Depreciated) The 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.

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
  1. Face = It takes the fonts name.
  2. Size = Size of text in terms of number.
  3. Color = Color name or Hexadecimal code of color. 

You May Also Like...

Socialize with Us