html input tag

In the html <input> tag is used to inside of form controls and which allows user input data. In the input types attributes are many available that is button, checkbox, file ,hidden, image, password, radio, reset ,submit and check box. Which tag is empty because no need for close tag.

The <Input> tag optional attributes are accept, align, alt, checked, disabled, maxlength, name, readonly, size, src, type and value and Standard Attributes are accesskey, class, dir, id, lang, style, tabindex, title and xml:lang.

Syntax:

<input type = "" />

Example Code

<input type = "text" />

Out Put:



In the above example <input> tag has been added to type = "text" and it out put you can see to above.




Content