Search code examples
cssxhtmlhtmlaccessibilitysemantic-markup

Can I use HTML 5 <nav> for footer links , which is not a primary navigation?


Can I use HTML 5 <nav> for footer links, which is not a primary navigation? Or should it be used once in a page?


Solution

  • Not all groups of links on a page need to be in a nav element — only sections that consist of major navigation blocks are appropriate for the nav element. In particular, it is common for footers to have a short list of links to various pages of a site, such as the terms of service, the home page, and a copyright page. The footer element alone is sufficient for such cases, without a nav element.

    http://www.w3.org/TR/html5/sections.html#the-nav-element