Developing to XHTML Basic
Let's take a look at an existing Web site and see what would need to be done if it were to be updated for XHTML Basic. Orion's Domain is the personal Web site of a good friend of mine, and he has graciously allowed me to use his pages here in this book (see Figure 17.1). Note that his home page is currently a valid HTML 4.0 Transitional document. The page source is found in Listing 17.1.
Figure 17.1. Orion's Domain: a valid HTML 4.0 Transitional Web site that we'll transform to XHTML Basic.
Code Listing 17.1. orion.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> ... |
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.