Input Tags
Posted by admin | Posted in HTML Tutorial | Posted on 11-08-2010-05-2008
0
Without user input a website is just a static show page. We use user inputs to make it more and more effective and to interact with the users.
When we are talking about websites and users visiting the website you must be well aware that this requires user interaction in variuos ways. For example if we want to make our website interactive then we have to take in some inputs from the use and display some output according to the input provided.
This process requires, first of all somewhere or some area where a user can write directly or it can interact in any way with the page being displayed.
We have various kind of input tags according to the different purpose like checkboxes, text fields, radios, and form submission buttons.
The <input /> tag does not require a closing tag and is thus an “all in one” tag.
The Type Attribute
To specify the type of input we want to use, we have to set the type attribute to one of the following values.
- “text”
- “password”
- “checkbox”
- “radio”
- “submit”
- “reset”
