Interview Question

What are semantic tags?

Semantic tags explain the meaning of each page section.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

Semantic tags clearly describe the job of their content. • `<nav>` means navigation and `<main>` means main content. • They help screen readers understand the page. • They also make code easier for people to read.

💡 Simple Example

<main><article><h1>News</h1></article></main>

⚡ Quick Revision

Semantic tags explain the meaning of each page section.