Name

CSS

Status

CSS Level 2 became a W3C recommendation in May 1998, and it is published at http://www.w3.org/TR/REC-CSS2/. CSS Level 1 became a W3C recommendation in 1996, with a revision in January 1999. It is published at http://www.w3.org/TR/REC-CSS1. Work on CSS Level 3 is ongoing, and links to specifications may be found at http://www.w3.org/Style/CSS/current-work.

Description

CSS is a stylesheet language that allows authors and users to attach styles (e.g., fonts, spacing, and sounds) to structured documents such as HTML documents and XML applications. By separating the presentation style from the content of a document, CSS simplifies web authoring and site maintenance.

CSS2 builds on CSS1, and with few exceptions, all stylesheets valid in CSS1 are also valid in CSS2. CSS2 supports media-specific stylesheets, so authors can tailor the presentation of their documents to visual browsers, aural devices, printers, Braille devices, hand-held devices, etc. This specification also supports content positioning, downloadable fonts, table layout, internationalization features, automatic counters and numbering, and some user interface properties.

Get Learning XML, 2nd 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.