O'Reilly logo

HTML & CSS: The Complete Reference, Fifth Edition by Thomas A. Powell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required