<FONT> Tag & its Attribute

HTML Tag <FONT>

<FONT> Alters or sets font characteristics of the font the browser uses to display text.

Attribute of <FONT> Tag

COLOR

Indicates the color the browser uses to display text. Color names can substitute for the RGB hexadecimal values.

<FONT COLOR=#FF0000><H2>Win A
Trip!</H2></FONT> <FONT COLOR=
"lightblue"><p>That's right!
A trip to Hawaii can be yours if you
scratch off the right number!</FONT>


Possible Values

Color Name or hexadecimal color code.



FACE

Specifies a comma-separated list of font names the browser uses to render text. If the browser does not have access to the first named font, it tries the second, then the third, and so forth.

<FONT SIZE=+1 FACE="Avant Guard,
Helvetica, Lucida Sans, Arial">


Possible Values

Font Name.



SIZE

Specifies the size of the text affected by the FONT tag. You can specify the size relative to the base font size (see the <BASEFONT> tag) which is normally 3. You can also specify the size as a digit in the range 1 through 7.

<BASEFONT SIZE=4>
<FONT SIZE=+2>This is a font of size
6</FONT> <FONT SIZE=1>This is a font
of size 1</FONT>


Possible Values

integer value from 1 to 7.




CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz