Interview Question

What is noscript tag?

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

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

`<noscript>` is an element shown when JavaScript is unavailable. • It can explain that a feature needs JavaScript or provide a basic fallback. • 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

<noscript>Please enable JavaScript to use the map.</noscript>

⚡ Quick Revision

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