If you really want pedantic strictness and perfection, native applications are the place to work. But it isnt always better.
And the web is fast, like really fast in rendering highly markedup text layouts. Just because everyone uses a frontend framework for “maintainability” doesn’t mean the engine is slow.