Chapter 1. XHTML Fundamentals

At first glance, XHTML documents are very similar to HTML documents. Much of what has changed is in the background. Instead of being based on SGML (the Standard Generalized Markup Language) as HTML is, XHTML is an application of XML, the Extensible Markup Language. Because of this, several fundamental changes have been made to the way you write XHTML content as compared to how you would author content in HTML.

The W3C was actually quite concerned about the transition that needed to take place between HTML and XML. In May of 1998 they held a public workshop on the topic near San Francisco, California. During the two-day event, Web developers, software vendors, and authors of both the HTML and XML recommendations ...

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.