XHTML — 25 free lessons

html written as strict xml · the discipline detour

Start lesson 1 →

XHTML Tutorial

1. What is XHTML · HTML as XML2. Why XHTML Existed · The Strictness Pitch3. XHTML vs HTML · The Differences4. XHTML Syntax Rules · The Five Musts5. XHTML Doctype · The Required Header6. All Tags Lowercase · The Case Rule7. All Tags Must Close · Self-Closing Too8. Proper Nesting · No Overlap Allowed9. Attribute Values · Always Quoted10. Boolean Attributes · Expanded Form11. The Document Must Be Well-Formed12. XHTML Validation · The Strict Parser13. The XHTML Namespace · Xmlns14. Content-Type · Application/Xhtml+xml15. Fatal Errors · Why Parsers Gave up

XHTML Versions

16. XHTML 1.0 · Strict · Transitional · Frameset17. XHTML 1.1 · Modularization18. XHTML 2.0 · The Version That Never Shipped19. XHTML 5 · The Polyglot Subset

XHTML Today

20. XML Stylesheets · Linking Xslt21. Character Entities in XHTML22. Why HTML5 Won · Pragmatism Over Purity23. When XHTML Still Matters · E-Readers · Epub24. Converting HTML to XHTML25. References · Spec Links · Validators