The header tag is responsible, for displaying the content or navigation links on a page. It is commonly positioned at the top of the page. Can showcase elements such as the site title, logo, and primary navigation menu.
Example:
<header> <h1>My Website</h1> <nav> <ul> <li><a href="#home">Home</a></li> <li><a href="#about">About</a></li> <li><a href="#contact">Contact</a></li> </ul> </nav> </header> |
The header tag is responsible, for displaying the content or navigation links on a page. It is commonly positioned at the top of the page. Can showcase elements such as the site title, logo, and primary navigation menu.
Example:
<header> <h1>My Website</h1> <nav> <ul> <li><a href="#home">Home</a></li> <li><a href="#about">About</a></li> <li><a href="#contact">Contact</a></li> </ul> </nav> </header> |
Copyrights © 2024 letsupdateskills All rights reserved