This is one of the reasons why web technology is so popular and persistent. You get almost all of that for free as long as you use semantic HTML.

Which nobody uses