Properties

The following table shows all CSS properties, including which version of CSS they first appear in. Note that, beyond the values shown below, CSS 2 also adds the Inherit value to all properties. See the explanation at the end of the table for values specified in italic.

Property Ver Example values Values
Font properties    
font 1 italic small-caps bold 18pt/22pt Helvetica, sans-serif combination of six properties – font-style, font-variant, font-weight, font-size, line-height and font-family, with '/' between size and line height
2 caption … caption, icon, menu, message, small-caption, status-bar
font-style 1 italic normal (the default), italic, oblique
font-variant 1 normal normal (the default), small-caps
font-weight 1 bold normal ...

Get XSL companion, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.