Interview Question

What is an input tag?

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

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

`<input>` is a form control used to enter or choose a value. • Its `type` changes it into text, email, checkbox, date, and more. • 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

<input type="email" name="email">

⚡ Quick Revision

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