THE GARDEN
Updated 04 Oct 2026
converts HTML input into a document tree through tokenization and tree construction
defined parsing rules handle malformed input; the browser is not simply guessing
nested anchors and misnested formatting elements can trigger repairs
unexpected text inside table structures can be moved outside the table trhough foster-parenting rules
textarea uses RCDATA parsing: character references are interpreted, ordinary markup-lookingtext remains text, and the matching closing tag ends the element
textarea
therefore, text such as <strong> inside a textarea does not create a strong element
<strong>
strong
XML uses different well-formedness rules and does not apply HTML's repair behavior
◌ Explore connections in Graph view
Paths through the garden