html - Is It Practical To Use Nav? -


how practical use <nav> element compared <div id="nav">?

i know nav new element, , don't want use unless it's accepted in browsers now.

would better off still using div element class/id?

i know isn't typical question ask, didn't find many results on if should used more now, , few did saying shouldn't used yet.

update: dmitriy provided me link in comment answered great reference website. many thanks. http://caniuse.com/#search=nav

it seems element still lacks functionality in mobile browsers think i'll avoid now.

depends browsers need support seems relatively supported ie9 , ff4;

http://dev.w3.org/html5/spec-preview/the-nav-element.html

http://www.w3schools.com/tags/tag_nav.asp

i can suggest try , test on target browsers.

if reason end using div make sure add role="navigation"

<div id="nav" role="navigation"> 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -