+ 1
Can anyone tell me about navigation tag??
How to use it? Where to use it ?
3 Antworten
+ 3
https://www.sololearn.com/discuss/1337239/?ref=app
https://www.sololearn.com/discuss/1703038/?ref=app
https://www.sololearn.com/discuss/4680/?ref=app
https://www.sololearn.com/discuss/2560204/?ref=app
https://www.sololearn.com/discuss/49131/?ref=app
https://www.sololearn.com/discuss/2646359/?ref=app
+ 1
The HTML5 element <nav> is used to define a segment of navigation links within a web page. This element improves the structure and semantics of the page, making it more accessible to both users and search engines. The <nav> element can be used to group the key navigation links on a website, such as links to different sections or pages. It specifies a group of navigation links, either within the current document or to other papers. Tables of contents, menus, and indexes are all examples of navigation blocks.
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<header>
<h1>Web Development Courses</h1>
</header>
<nav>
<a href="/learn-html.html">HTML</a> |
<a href="/learn-css.html">CSS</a> |
<a href="/learn-javascript.html">JavaScript</a> |
<a href="/learn-php.html">PHP</a>
</nav>
<h2>Welcome to Sololearn!</h2>
</body>
</html>