Parser error recovery

noun

say it: “PAR-ser AIR-er rih-KUV-uh-ree” /ˈpɑrsər ˈɛrər rɪˈkʌvəri/

The rules in the HTML standard that every browser follows to repair broken HTML the same way, so a page with mistakes still shows instead of failing.

What is Parser error recovery?

Parser error recovery — The standardized rules browsers follow to build a predictable document tree from malformed HTML.

In a sentence

  • “Parser error recovery split my misnested tags into two elements, which is why my style missed half the words.”
  • “Thanks to parser error recovery, Chrome, Firefox and Safari all moved my stray table text to the same place.”

Level: Master · More HTML terms at this level

Updated