Interview Question

What are non-semantic tags?

`div` and `span` group content but do not describe its meaning.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

Non-semantic tags do not explain what their content means. • `<div>` is a general block container. • `<span>` is a general inline container. • They are useful when no meaningful HTML element fits.

💡 Simple Example

<div class="card"><span class="price">$10</span></div>

⚡ Quick Revision

`div` and `span` group content but do not describe its meaning.