Which HTML5 element should wrap the navigational links of a page?

Prepare for the uCertify CIW Advanced HTML5 and CSS3 Specialist Exam. Dive into essential topics with flashcards and multiple-choice questions. Enhance your understanding with hints and explanations for each question. Pass your exam confidently!

Multiple Choice

Which HTML5 element should wrap the navigational links of a page?

Explanation:
Wrapping navigational links in a dedicated navigation container signals the page's purpose to both users and assistive technologies. The nav element marks a section that contains major navigation links, making it clear this block is meant for navigation rather than other content. This improves accessibility because screen readers and keyboard users can identify and jump directly to the site’s navigation. You can have multiple navigation regions on a page—for example, global navigation in the header and a secondary set of links in the footer or a sidebar. A typical pattern is a nav element containing a list of links, such as: <nav><ul><li><a href="/home">Home</a></li>...</ul></nav>. While header, aside, and footer serve other roles (introductory content, related content, and concluding information, respectively), the nav element specifically conveys navigational intent.

Wrapping navigational links in a dedicated navigation container signals the page's purpose to both users and assistive technologies. The nav element marks a section that contains major navigation links, making it clear this block is meant for navigation rather than other content. This improves accessibility because screen readers and keyboard users can identify and jump directly to the site’s navigation. You can have multiple navigation regions on a page—for example, global navigation in the header and a secondary set of links in the footer or a sidebar. A typical pattern is a nav element containing a list of links, such as:

. While header, aside, and footer serve other roles (introductory content, related content, and concluding information, respectively), the nav element specifically conveys navigational intent.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy