Change Font Size:

HTML fonts (Fonts)

In HTML, can be used font elements and attributes this to set the font size, color and font style.

Font size

Use font size attributes (size) to set the font size. Sample code is as follows:

  <p> <font Size="2" /> this section of the font size value is 2.  </ Font> </ p> 

Demonstration examples

Style

Used to set the font face style attributes. Sample code is as follows:

  <p> <font Fac="arial" /> this section of the font style is arial.  </ Font> </ p> 

Demonstration examples

Font color

Color attributes (color) to set the font color.

Font color codes, please see the HTML color (HTML Color Reference).

  <p> <font Color="#FF0000" /> this section of the font color is red </ font> </ p> 

Demonstration examples

Attention

HTML4 standard, does not recommend the use of font and font attributes set, but proposed to use CSS to set the font size, color, font style.