Wednesday, September 17, 2008

The font-size Property

The font-size property specifies the size of the text in an element. This property can have as its value keywords, length values or percentages. The length values and keywords can be absolute or relative size.
The absolute size keywords are:
  • xx-small
  • x-small
  • small
  • medium
  • larger
  • x-large
  • xx-large
The relative size keywords are:
  • smaller
  • larger
The absolute size length units are:
  • points (pt)
  • picas (pc)
  • inches (in)
  • centimeters (cm)
  • millimeters (mm)
The relative size length units are:
  • em-height (em)
  • x-height (ex)
  • pixels (px)

No comments: