Why to use HTML5 semantic tags?

Technology CommunityCategory: HTML5Why to use HTML5 semantic tags?
VietMX Staff asked 3 years ago

As their name says, this is for semantic purposes only. It’s for improving the automated processing of documents. Automated processing happens more often than you realize – each website ranking from search engines is derived from automated processing of all the website out there.

// machine: okay, this structure looks like it might be a navigation element?
<div class="some-meaningless-class"><ul><li><a href="internal_link">...</div>

// machine: ah, a navigation element!
<nav class="some-meaningless-class"><ul><li><a>...</nav>