DEV Community

Olufisayo Bamidele
Olufisayo Bamidele

Posted on

Is Semantically Correct Markup Really Important In Modern Web Development?

In an era where javascript frameworks allow you to dynamically set title and meta tags, how important is semantically correct HTML for SEO?

Top comments (2)

Collapse
 
philnash profile image
Phil Nash

Since the onset of JavaScript you've been able to dynamically set title and meta tags. However neither SEO nor semantic HTML is about just those things.

I really like this explanation of why semantic HTML matters through the lens of TypeScript by Mandy Michael. Making your HTML semantic gives it meaning to other machines.

Some of those machines are search engine bots trying to find the structure of a page, what the headings are, where the main article is, and so on, some of those machines are the reader modes that are built into browsers and sometimes they are accessibility tools trying to read a page to someone with different abilities.

Building your web pages with a base of semantic HTML will help with SEO and all of those use cases as well as others that haven't necessarily been thought of yet.

Collapse
 
ngfizzy profile image
Olufisayo Bamidele

Thanks for the advice Matt