PDF fetishism and blindly disliking HTML because it's associated with the current web is such an old trope. HTML and CSS are good at making hypertext documents, they are in fact much better at that than at making applications, despite that being the most popular use case lately. No one is making you write web apps, websites are still first class citizens for web browsers.
LaTeX is not equivalent to PDF, though that is one publishing format it supports. HTML lacks numerous features which a first-class document-specification language should have, including grid layouts (only very recently possible), footnotes and sidenotes, and formulae. The promise of LaTeX is that documents could be defined strictly in semantic terms, though my belief is that this would last for approximately 37.229 m…
If layouting (an computationally expensive step) is done at "run-time" what would precompiled even mean?