APPENDIX E Reading a Document Type Definition
This appendix presents the Document Type Definitions (DTDs) for HTML 4.01 and XHTML 1.0. Traditional HTML “dialects” are defined using SGML (Standard Generalized Markup Language), a complex language with many nuances. XHTML dialects are developed in XML (Extensible Markup Language), which is a subset of SGML and slightly easier to work with. This appendix presents the small amount of SGML or XML knowledge needed to read the various DTDs found online directly.
Element Type Declarations
Two common types of declarations should be familiar to Web developers: element type declarations and attribute list declarations. An element type declaration defines three characteristics:
1. The element type’s name, ...
Get HTML & CSS: The Complete Reference, Fifth Edition, 5th Edition 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.