Articles → HTML 5 → Nav Tag In Html5
Nav Tag In Html5
Purpose
Syntax
<nav>
Navigation links
</nav>
Example
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<nav>
<a href="http://google.com">Google</a> |
<a href="http://bing.com">Bing</a> |
</nav>
</body>
</html>
Try It
Output
Browser Support
Internet Explorer | Firefox | Chrome | Safari | Opera | Edge |
---|
9.0 | 4.0 | 6.0 | 5.0 | 11.1 | Yes |
Video