From the course: HTML for Programmers

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Landmark elements

Landmark elements

- [Instructor] A landmark is a notable region of a webpage used to group different types of content. Often users will want to navigate to these regions so including them in your page will greatly benefit users leveraging screen readers. When scaffolding an HTML page, it's a good idea to start with the larger landmark elements like navigation for the main content area, and work your way down to the more granular elements like the navigation bar menu items or the learning cards. There are several landmarks you can use to create an HTML page. They include aside, footer, form, header, main, nav, section, and article. We can use these landmark elements to establish primary regions of your page instead of using a div to group contents of the page. Landmark elements should be used to convey structure and hierarchy, so it's important to use them properly. For example, we will only have one main content section within each page, so…

Contents