Most browsers will display the <nav>
element with the following default values:
Example:
HTML
<!DOCTYPE html>
<html>
<style>
nav {
display: block;
}
</style>
<body>
<h1>The nav element</h1>
<p>The nav element defines a set of navigation links:</p>
<nav>
<a href="/html/">HTML</a> |
<a href="/css/">CSS</a> |
<a href="/js/">JavaScript</a> |
<a href="/python/">Python</a>
</nav>
</body>
</html>
How to create HTML <nav> Tag | HTML Tag |
How to set Default CSS Settings on HTML <nav> Tag | HTML Tag |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |