×

Html & Html5

The World's best Software Development Study Portal

HTML Form Input

Following are different input types use in form:

1.Text

Defines a one line input field for text input.

EXAMPLE

2.Password

This input type defines a password field.

EXAMPLE

3.Submit

Submit buttons let a user to submit the data that they enter in form.

EXAMPLE

4.Reset

defines a reset button that will reset all form values to their default values.

EXAMPLE

5.Chechbox

Checkboxes let a user select ZERO or MORE options of a limited number of choices.

EXAMPLE

6.Date

is used for input fields that should contain a date.

EXAMPLE

7.E-mail

is used for input fields that should contain an e-mail address.

EXAMPLE

8.Number

defines a numeric input field.You can also set restrictions on what numbers are accepted.

EXAMPLE

9.Search

is used for search fields.You can search anything you want.

EXAMPLE

10.Time

allows the user to select a time.

EXAMPLE

11.URL

allows the user to add a url of their email id.

EXAMPLE

12.Week

allows the user to select week and year.

EXAMPLE