Students Empire

Learn Something New


The <font> tag provides no real functionality by itself, but with the help of a few attributes, this tag is used to change the style, size, and color of HTML text elements. The size, color, and face attributes can be used all at once or individually, providing users with the ability to create dynamic font styles for any HTML element.

font size

				<font size="5">Here is a size 5 font</font>

font color

		      	<font color="#990000">This text is hex color #990000</font>
				<font color="red">This text is red</font>

font face

				<font face="Georgia, Arial, Garamond">This paragraph
				 has had its font...</font>

Choose a different font face by specifying any font you have installed. Font face is synonymous with font type. As a web designer, be aware that if you specify a custom font type and users viewing the page don't have the exact same font installed, they will not be able to see it. Instead the chosen font will default to Times New Roman.

attribute review

Attribute Value Description
size= Num. Value 1-7 Size of your text, with 7 being biggest
color= rgb,name,or hexidecimal Font color
face= name of font Font type