Forms

input

Inserts a input field where the user can enter data. The “type” attribute is use to specify the type of input field. Input field types are: button checkbox, file, hidden, image, password, radio, reset, submit, text.

Syntax

<input attributes />

Example

<form action=”login.html” method=”post”>
   <input type=”text” />
   <input type=”password” />
   <input type=”select” />
   <input type=”hidden” />
   <input type=”button” /> 
   <input type=”select” />
</form>

Related tags

CSS Properties

HTML attributes

Search the Soup!