HTML parser

noun

say it: “AYCH-TEE-EM-EL PAR-ser” /ˌeɪtʃˌtiˌɛmˈɛl ˈpɑrsər/ or “AYCH TEE EM EL PAR-ser” /ˌeɪtʃ tiː ɛm ˈɛl ˈpɑrsər/

The part of the browser that reads an HTML file, breaks it into tags and text, and builds the page's DOM tree from them, fixing mistakes along the way.

What is HTML parser?

HTML parser — The browser component that turns HTML source into a document tree.

In a sentence

  • “The HTML parser stopped at the script tag and waited until the script had run.”
  • “The HTML parser closed my paragraph early when it reached the div inside it.”
  • “Because the HTML parser never stops on a mistake, my broken page still showed up.”

Level: Master · More HTML terms at this level

Updated