Tag
html-parsing
- Sep 23, 2026 HTML Content Model Categories and What They Actually Constrain Flow, phrasing, sectioning, embedded, interactive, and transparent content describe what may nest inside what. Browsers enforce a few of those rules by repairing the tree and ignore the rest. web platform
- Jul 4, 2025 The Table Model, Foster Parenting, and Header Association Loose table markup is rebuilt into thead, tbody, and tr by the parser, stray content is moved out, and the header association algorithm decides which cell describes which. web platform
- Dec 12, 2024 Optional Tags and the Implied End Tag Rules the Parser Enforces Only some tags may be omitted, and only where the tree builder already closes the element. The conformance conditions behind each omission, and the cases where leaving a tag out changes the tree. web platform
- Mar 6, 2024 How the HTML Tokenizer and Tree Builder Recover from Malformed Markup HTML error recovery is specified rather than improvised, which is why every engine builds the same tree from broken markup. The tokenizer states, the insertion modes, and the repair rules behind that guarantee. web platform
- Mar 27, 2022 HTML Parsing Contexts and Why One Escape Function Is Never Enough How the HTML tokenizer switches states by context, what each state treats as dangerous, and why encoding rules must be chosen per insertion point rather than per application. security