Interview Question

What is the header tag?

`<header>` should be used for its proper HTML purpose.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

`<header>` is an element for introductory content. • It may contain a heading, logo, search box, or navigation. • Browsers apply the native parsing and behavior defined for this element. • Using its native meaning helps assistive technology understand the content when the element has accessibility semantics.

💡 Simple Example

<header><h1>News</h1></header>

⚡ Quick Revision

`<header>` should be used for its proper HTML purpose.