home HTML XML DTD CSS Visual Filter JavaScript Java ASP SSI .NET  
CSS Reference >
Suggested Reading

Font properties


tag/attrib/value description
font: 13 43  Font formatting
font-style 1     
font-variant 1     
font-weight 1     
font-size 1     
/ line-height 1     
font-family 1     
caption 24 --  Font used for control captions
icon 24 --  Font used for icon labels
menu 24 --  Font used in menus
message-box 2- --  Font used in message boxes
small-caption 2- --  Font used for small captions
status-bar 2- --  Font used in window status bar
inherit 2- -- 
font-size: 13 43  Height of font
[ xx-small | -3 43  6pt
x-small | 13 43  8pt
small | 13 43  10pt
medium | 13 43  12pt
large | 13 -3  14pt
x-large | 1- --  17pt
xx-large | 1- --  21pt
         40pt
larger 14 43  20% larger
(Within FONT/Hx tag) |    4  
smaller 14 43  20% smaller
(Within FONT/Hx tag) |    4  
Length | 13 4  
Percentage 13 4  
(Within FONT/Hx tag) |  3 4  
inherit ] 2- -- 
font-family: 13 43  Appearance of font
Family-name 13 43 
Generic-family 13 43 
inherit 2- -- 
Generic-family 1      Generic font appearances
serif 1      e.g. Times
sans-serif 1      e.g. Helvetica
cursive 1      e.g. Zapf-Chancery
fantasy 1      e.g. Western
monospace 1      e.g. Courier
font-weight: 13 43  Weight of font
[ normal | 13 43 
bold | 13 43 
bolder | 14 43 
lighter | 14 4- 
100 | 14 43 
200 | 14 43 
300 | 14 43 
400 | 14 43  Normal
500 | 14 43 
600 | 14 43 
700 | 14 43  Bold
800 | 14 43 
900 | 14 43 
inherit ] 2- -- 
font-style: 13 43  Slanted style of font
[ normal | 13 43 
italic | 13 43 
oblique | 14 -3 
inherit ] 2---- 
font-variant: 14 -3  Caps style of font
[ normal | 14 -3 
small-caps | 14 -3 
inherit ] 2- -- 
font-stretch: 2----  Stretching of font
[ normal | 2---- 
wider | 2---- 
narrower | 2---- 
ultra-condensed | 2---- 
extra-condensed | 2---- 
condensed | 2---- 
semi-condensed | 2---- 
semi-expanded | 2---- 
expanded | 2---- 
extra-expanded | 2---- 
ultra-expanded | 2---- 
inherit ] 2---- 
font-size-adjust: 2----  Size adjustment for readability
[ Number | 2---- 
none | 2---- 
inherit ] 2----