-
Notifications
You must be signed in to change notification settings - Fork 1
/
using_nav.html
32 lines (27 loc) · 1020 Bytes
/
using_nav.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Identifying navigation sections</title>
</head>
<body>
<h1>Using the nav element</h1>
<nav>
<ul>
<li><a href="http://www.example.com">About us</a></li>
<li><a href="http://www.example.com">Services</a></li>
<li><a href="http://www.example.com">Contact</a></li>
<li><a href="http://www.example.com">Location</a></li>
<li><a href="http://www.example.com">Why Groovy?</a></li>
</ul>
</nav>
<p>The nav element is very useful for identifying navigation sections. This page includes a top navigation section that does not use the ARIA role of navigation, and a navigation at the bottom of the page that does. The role of navigation is recommended as of September 2014, but at some future point in time may not be needed.</p>
<nav role="navigation">
<ul>
<li><a href="http://www.example.com">Company</a></li>
<li><a href="http://www.example.com">FAQ</a></li>
<li><a href="http://www.example.com">Privacy</a></li>
</ul>
</nav>
</body>
</html>