Specifying Size

You specify the font size of a style like this:

font-size: length;

The length can be measured in points, pixels, inches, centimeters, millimeters, or percentages. Examples:

font-size: 24pt;
font-size: 0.5cm;
font-size: 125%;

The last one means “make the font 125% as big as the surrounding text.” Here's an example, and the results:

<span style="font-size: 12px;">Twelve-pixel text</span><br />
<span style="font-size: 0.5cm;">One-half centimeter</span><br />
<span style="font-size: 18pt;">Eighteen-point text</span><br />
Normal <span style="font-size: 150%;">One hundred fifty percent</span><br />

And here's the result:

Twelve-pixel text
One-half centimeter
Eighteen-point text
Normal One hundred fifty percent

  Specifying Color  Index Specifying Font Family