How to Build an HTML Parser in C++
Published in
5 min readNov 22, 2022
Originally published at https://devtails.xyz.
Intro
I’ve started building a web browser and initially set it up with a relatively hacky regex to “parse” the HTML. This had no regard for nested structures and very likely had all kinds of other issues.
The google search results for “build html parser in c++” turn up only one tutorial that only covers…