Why can broken HTML still turn into a web page?
A browser can display a page even when its tags are nested incorrectly. That does not mean it ignores the error: HTML parsing rules can construct a document structure that differs from what the author imagined.
Questions you could explore
- Why might changing an error-recovery rule break pages that already seem to work?
Start reading
- WHATWGHTML Standard: Misnested tags
The standard’s worked example follows misnested bold and italic tags through parser error handling. It separates markup from the resulting document tree.
Ready to try your ideas aloud?
Your topic carries over. Record up to 2½ minutes, depending on your plan.