HTML - Tags - <font>

#49 of 147
font

 <html>
 <body>
     <font face="Courier" color="#000" size="1">Size 1</font><br />
     <font face="Courier" color="#000" size="2">Size 2</font><br />
     <font face="Courier" color="#000" size="3">Size 3</font><br />
     <font face="Courier" color="#000" size="4">Size 4</font><br />
     <font face="Courier" color="#000" size="5">Size 5</font><br />
     <font face="Courier" color="#000" size="6">Size 6</font><br />
     <font face="Courier" color="#000" size="7">Size 7</font><br />
 </body>
 </html>
 

The font element sets the font face, font color and font size for the enclosed text.

Obsolete

A live example:


Size 1 (smallest)
Size 2
Size 3 (default)
Size 4
Size 5
Size 6
Size 7 (largest)

N of

Ads by Google


Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath