XHTML 2 & HTML5 Navigation Lists
XHTML 2 vs. HTML 5 - I’m Mike:
Navigation lists have been introduced in both XHTML 2.0 and HTML 5. In XHTML 2.0, navigation is marked up using the new nl element. Navigation lists must start with a child label element that defines the list title. Following the title, one or more li elements are used to markup links. Also new in XHTML 2.0 is the ability to create a hyperlink from any element using the href attribute. Combining these features produces simple, lightweight navigation markup:
<nl>
<label>Category</label>
<li href="/">All</li>
<li href="/news">News</li>
<li href="/videos">Videos</li>
<li href="/images">Images</li>
</nl>"What’s important here is that the standards bodies begin adhering not to some ideal version of the web, but how people actually use it. Along with CSS3’s border image properties, this is a good barometer of the progress we’re making.