📚 › HTML: build the structure of a web page
14. Semantic layout: header, nav, main, footer
इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।
Semantic tags describe the purpose of a part of the page. header holds the top, nav the navigation links, main the main content, article a self-contained story, section a themed part, and footer the bottom.
Screen readers use these tags to let visitors jump straight to the main content.
उदाहरण देखें
<header><h1>My Blog</h1></header>
<nav><a href="/">Home</a></nav>
<main><article><p>First post</p></article></main>
<footer>© 2026</footer>
✍️ अब आपकी बारी
Wrap a heading in header, content in main, and add a footer that says Thanks for visiting.