Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 tags vs <div> just for the sanity?

Tags:

html

Other than having a structure that makes more sense (i.e wrapping a footer with a <footer> tag) why should i be using html5 tags over div tags?

If i use <div> i will still be able to use some of the sweet html5 features, so why should i worry about learning all this new tags?

P.S: I am aware of video and audio tags that make it easier to embed media

like image 382
amosrivera Avatar asked Apr 06 '11 05:04

amosrivera


People also ask

Why is it good to use HTML5 tags?

There are some very useful but little-known HTML5 tags that can come in handy, too. They give a semantic meaning to your webpage, bring more accessibility, and make your life easier.


1 Answers

Using those tags will help search engine index your site, and for screen reader, etc. This is known as "semantic correctness".

like image 189
nonopolarity Avatar answered Sep 24 '22 15:09

nonopolarity