font | font-style | font-variant | font-weight| font-size | font-family |
|
Allowed Values |
Value Type |
Browser Support |
Description |
[font-style] | NA | IE4B1 | N4B2 | See the individual property for details on syntax and allowed values. |
[font-variant] | NA | IE4B1 | N | See the individual property for details on syntax and allowed values. |
[font-weight] | NA | IE4B1 | N4B2 | See the individual property for details on syntax and allowed values. |
[font-size] | NA | IE3B1 | N4B2 | See the individual property for details on syntax and allowed values. |
[line-height] | NA | IE3B1 | N4B2 | See the individual property for details on syntax and allowed values. |
[font-family] | NA | IE3B1 | N4B2 | See the individual property for details on syntax and allowed values. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
normal | italic | explicit | IE3B1 | N4B2 | These properties control whether a portion of text is italicized or not. |
oblique | explicit | IE4B1 | N | This is an alternate method of specifying italic properties for sans-serif text types. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
normal | small-caps | explicit | IE4B1 | N | These values are toggles to turn the Small-Caps effect on and off. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | explicit | IE4B1 | N4B2 | These values are absolute font weights on a scale. As such, it allows much greater control than the HTML <b> tag it replaces. The values 'normal' and 'bold' listed below map to 400 and 700 respectively |
normal | bold | explicit | IE3B1 | N4B2 | These values are simple toggles to allow an author to specify a section as bold or not bold. |
bolder | lighter | calculated | IE4B1 | N4B2 | These values select the next higher or lower value on the font weight scale relative to the weight inherited from the parent if possible. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
xx-small | x-small | small | medium | large | x-large | xx-large | explicit | IE3B1 | N4B3 | These 7 allowed sizes should correspond roughly to the size ranges allowed through the HTML <FONT SIZE> 1-7 range. |
smaller | larger | calculated | IE4B1 | N4B3 | This size change value is relative to the font size of the parent element but is limited in range to that allowed by the system. |
[length] | explicit | IE3B1 | N4B2 | Refers to either the length in relation to the current element or an absolute measurement. |
[percentage] | calculated | IE3B1 | N4B3 | Refers to a percentage of the font size of the parent element. |
|
Allowed Values |
Value Type |
Browser Support |
Description |
serif | sans-serif | cursive | fantasy | monospace | explicit | IE3 | N4B2 | These values refer to generic font families that have certain visual characteristics. Browsers will attempt to map an existing font for the selection using this generic family specification. It is recommended to offer a generic font family value as a last alternative after specifying specific font family names. |
[font-family] | calculated | IE3B1 | N4B2 | This value will be a string identifying a specific font. Font names containing white space should be quoted. |