Reputation: 101
I've been wondering about this for the past few days and thought I should register on this website since most of the answers I'm looking for come from here. I wasn't able to find this answer, however.
I'm just wondering if it's semantically correct to nest the nav tag in an aside tag? I'm brand new to the HTML5 scene from XHTML.
<aside>
<nav id="locations">
An Arizona City Here
An Arizona Mountain Range
An Arizona Destination Here
Somewhere Arizona
Tucson Location
Bisbee Location Etc...
</nav>
</aside>
Upvotes: 8
Views: 6693
Reputation: 7947
Yes as long as it is an aside to the content of the elements around it. If you are using it as "this is on the side of my main content in a column type area" then no, it is not appropriate. The semantics of the element is for content that is related to the main content, but not a part of it. You can read more on the w3c site that has "translated" the spec for web developers. It explains some example uses.
Upvotes: 5