Preface
- Intended audience
- Definition
- Scope
- Practical application
- About the author
- Acknowledgements
- Contribute
Chapter 1. Introduction
- The DOM, parsing, and serialization
- History of HTML parsers
- The HTML parser is specified
Chapter 2. The HTML syntax
- The doctype
- Elements
- Documents
- Start tags
- End tags
- Attributes
- Optional tags
- Character references
- CDATA sections
- Comments
Chapter 3. The HTML parser
- Overview of the HTML parser
- Error handling
- Detecting character encoding
- Preprocessing the input stream
- Tokenizer
- Tree construction
- Tags that are no longer supported
Chapter 4. Scripting complications
- Revised overview of the HTML parser
document.write()- Other parser APIs
- DOM manipulation
Chapter 5. Serializing
Chapter 6. Security implications
- Introduction
- Case studies
- Best practice
Appendix A. Implementations
Appendix B. Conformance checkers
- DTD-based validators
- Validator.nu
Appendix C. Microsyntaxes
- Numbers
- Image map coordinates
- Responsive images
- Colors
- Meta refresh