What I do is convert to markdown, that way you still get some semantic structure. Even built an Elixir library for this: https://github.com/agoodway/html2markdown
They say "LLMs are trained on the web", are the web pages converted from HTML into markdown before being fed into training?