Interview Question

What is the nav tag?

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

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

`<nav>` is an element for an important group of navigation links. • It helps users and screen readers find site 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

<nav><a href="/">Home</a></nav>

⚡ Quick Revision

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