Attributes of the FONT tag.

Q4. List the attributes of the <FONT> tag.

Ans. Attributes of the <FONT> tag are:

  1. <SIZE>-

Syntax:

          <FONT SIZE =”Font Size”>

Description: Specifies the size of the font. For example, to set the size of the text “ Hyper Text Markup Language” in the Web page to 20, we type: <BODY> Hyper Text Markup Language <FONT SIZE=”20”>.

  1. <FACE>-

Syntax:

          <FONT FACE =”Font Style”>

Description: Specifies the style of the font. For example, to set the font style of the text “ Hyper Text Markup Language” in the Web page as Algerian, we type: <BODY> Hyper Text Markup Language <FONT FACE=”Algerian”>.

  1. <COLOR>-

Syntax:

          <FONT COLOR =”Font Color Name”>

Description: Specifies the color of the font. For example, to set the color of the text “ Hyper Text Markup Language” in the Web page as blue, we type: <BODY> Hyper Text Markup Language <FONT COLOR=”blue”>.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: