I read an article the other day (that I now can't find...damn me for not bookmarking it) and looking at this SP thread http://www.sitepoint.com/forums/showthread.php?t=708900 (which somehow degraded into a plugin holy war) and it got me thinking about the <nav> element. The author of the article was saying in his HTML5 documents, he is no longer going to use <ul>'s for his navigation, because it is redundant. His argument is that we developers turned to the <ul> for navigation because it was the closest thing we could find in (X)HTML to use for navigation. His syntax is very simple:
Seems simple to me, but I'm still on the fence about this one. It seems perfectly semantic to do this, but I'm still a little against it and can't tell if I don't want to do it because I legitimately see something wrong with it, or because I'm being stupid and just adverse to change.Code:<nav> <a href="#">Link One</a> <a href="#">Link Two</a> </nav>
So what are you going to do? <nav><ul> or <nav><a>?