Chapter 11. Using Cascading Style Sheets with XHTML

The last chapter introduced you to XHTML 1.1, where all presentational elements and attributes have been removed from the language. Of course this doesn't mean that Web pages created using XHTML 1.1 will be dry, text-only documents. Instead, it means that presentation and style must be applied to the document in some manner other than with XHTML. That job now falls to a document known as a style sheet.

Style sheets can be written in a number of languages. In this chapter, we'll review one that might be familiar to you: Cascading Style Sheets (CSS). CSS first became popular as an adjunct to HTML. Today, it can still be used with XHTML and has the benefit of familiarity among many Web developers. ...

Get XHTML by Example 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.