type:
The type attribute is used on form controls to define the type of form control to create. It lets BUTTON tags act like submit, reset, and button INPUT tags. And it defines 10 different types of INPUT tags.
Used with Tags:
Content:
BUTTON Tag Values
INPUT Tag Values
button |
checkbox |
file |
hidden |
image |
password |
radio |
reset |
submit |
text
Default:
BUTTON Tag Default
submit
INPUT Tag Default
text
Deprecated in XHTML 1.0:
No
DTD:
HTML 4.01 Standard
XHTML 1.0 Standard
HTML 5
XHTML 1.0 Standard
HTML 5

