Appendix A. Replacing Presentational HTML with CSS

One of the goals of the Cascading Style Sheets language is to move presentational effects out of the HTML markup, achieving a separation of content from presentation. Such a separation has many benefits, especially for users with special needs, as discussed in Hour 22, “Accessibility and Print Media.”

The HTML 4.01 specification defines three varieties of HTML—Strict, Transitional, and Frameset—as detailed in Hour 4, “Using CSS with HTML.” Within this framework, specific HTML tags and attributes have been designated as deprecated. Deprecated tags are considered obsolete and are intended to be removed from future versions of the HTML language. Strict HTML disallows the use of these tags and attributes, ...

Get Sams Teach Yourself CSS 24 in Hours 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.