Is it semantically correct to have <nav> </nav> tags inside an <aside> </aside> tag?
I was interested in this over the past few days, and I thought I should register on this website, since most of the answers I am looking for come from here. However, I could not find this answer.
I'm just wondering if itβs semantically correct to insert the nav tag in the tag to the side? I am 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> Yes , if this does not apply to the content of the elements around it. If you use it as "this is on the side of my main content in a column type scope", then no, that doesn't work. The semantics of an element are content associated with the main content, but not a part of it. You can read more on the w3c website which has "translated" the specification for web developers . He explains some usage examples.