nav

Written on 10 January, 2012

Semantically it’s possibly a flawed concept with the limitations it would apply to the element, but would you agree there’s an argument to be made to make the <nav> declaration a list type?

I honestly don’t think I’ve ever included a <nav> tag, without instantly opening a list, generally <ul> or <ol>. The <nav> is simply there for pure semantic value, as I’d then generally apply any CSS styles to the contained list.

<nav>
	<li><a href="http://www.google.co.uk">Google</a></li>
	<li><a href="http://www.bing.com/">Bing</a></li>
	<li><a href="http://uk.search.yahoo.com/">Yahoo</a></li> test
</nav>

How does that look?

Want updates?

Get an email each time I write about design and tech. Zero spam. Or, follow me on Twitter.