Appendix B: CSS Properties

The tables in this appendix summarize the CSS properties that can be used to style HTML elements. For each CSS property, the possible values it can be assigned, the default or initial values given to applicable elements, and whether the property’s value is inherited by child elements are shown. The tables are separated to indicate groups of complementary properties.

A default value of “ua-dependent” indicates that the value depends on the user agent or browser.

An asterisk (*) next to the property’s name indicates that it is a new CSS3 property and may not be supported on all browsers.

Explanation of Values

image

CSS Properties ...

Get HTML Manual of Style: A Clear, Concise Reference for Hypertext Markup Language (Including HTML5), Fourth Edition 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.