HTML Tutorial - HTML Fonts


<font> tag is used to set the face, size and color to the text in your webpage.

There are three main attributes to <font> tag face, size and color, using these lot of effects needed on the webpage can be achieved.

Note: The <font> tag is depricated in HTML 4.01 and not supported in HTML 5. Need to use CSS style to manipulate the font.

HTML Example for <font> Tag attribute size
Source: Result:



Note: The <font> tag size can be specified from 1 to 7, where 1 is the smallest size and 7 is the largest size.

HTML Example for <font> Tag attribute face
Source: Result:



HTML Example for <font> Tag attribute color
Source: Result: