Interview Question

What is the video tag?

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

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

`<video>` is an element that plays video in the browser. • Add `controls`, captions, and fallback text for a better experience. • 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

<video controls src="lesson.mp4"></video>

⚡ Quick Revision

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