diffsnack
HTMLTag

What is <input> in HTML?

A form field. Its type decides what kind of field it is, and it has no closing tag.

Example

<input type="text" id="name" name="name">

Practice HTML in a 2-minute game →