Contact Number
Email Address

input

input

Definition and Usage

The <input> tag is an inline element used to create both input fields and interactive controls for web-based forms in order to accept data from the user. The HTML <input> tag is used within a form to declare an input element - a control that allows the user to input data . Nested within a <form>tag, they are useful for allowing the acceptance of user-input data of various types on a website. An input field can vary in many ways, depending on the type attribute.

Syntax

<input id="input1" type="text"> <input id="input2" type="text">