• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Reading the XHTML DTDs

The best way to learn how to write DTDs is to study existing documents. Because we'll be working with the DTDs for XHTML beginning in Chapter 16, "Combining Custom Modules with XHTML," going through them now is a good learning exercise. The XHTML 1.0 Strict DTD is the smallest of the three and can be found online at http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd.

The beginning of the DTD has some informational comments, including copyright information, revision dates, and public and system identifiers. After the revision date, a large set of entities are defined. These deal with character mnemonics, names imported from various RFCs, generic attributes, and entities created to represent groups of element names. The element and attribute declarations begin in the section commented as Document Structure (see Figure 13.1).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint