Interview Question

What are heading tags in HTML?

Headings organize the page from the main topic to smaller sections.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

Heading tags create titles for page sections. • They range from `<h1>` for the main heading to `<h6>` for a small subsection. • Use levels in a clear order. • Choose headings for structure, not only for large text.

💡 Simple Example

<h1>Animals</h1><h2>Cats</h2><h3>Food</h3>

⚡ Quick Revision

Headings organize the page from the main topic to smaller sections.