Font Tag HTML

FONT- By using Font tag we can specify Size, Color and Face of the body text. It is container tag

Attributes of Font Tag

  • Face
  • Color
  • Size 
FACE attribute- By using Face attribute of the Font tag we can specify the Face of body text.

<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<Font Face ="arial">Sample text</Font>
</BODY>
</HTML>

COLOR attribute- By using Color attribute of the Font tag we can specify the Color of body text according to our specification.

<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<Font Color ="Red">Sample text</Font>
</BODY>
</HTML>

SIZE attribute- By using Size attribute of the Font tag we can specify the Size of body text according to our specification.

<HTML>
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<Font Size =20>Sample text</Font>
</BODY>
</HTML>