When using HTML people often forget to close tags, incorrect settings, you forget to close quotation marks. Unfortunately, the browser often ignores such errors that creates different versions of your site in different browsers. On a simple site, you can check it through W3C validator, but if the site is on React'e or consists of multiple pages, then it is more difficult.
What are strongly typed HTML generators that will not allow to make mistakes? Interested in how the front-end part (React / Vue integration, generation of HTML via JS) and backend part. As I understand it, something like that tried to do PUG
, but not sure that is what I need