In HTML4, we have following input types:
submit:
<
input
name
=
"submit_form"
type
=
"submit"
value
=
"Submit this form"
/>
text:
<
input
name
=
"comments"
size
=
"50"
type
=
"text"
/>.
Check boxs
<
input
name
=
"color[]"
type
=
"checkbox"
value
=
"yellow"
/>yellow
Radio box:
<
input
name
=
"class"
type
=
"radio"
value
=
"1"
/>1
file, password, button, hidden, image, reset.
In HTML5, more types are added:
color, date, datetime,datetime-local, email, month, number,range,search, tel,time, url, week.
More reading:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input
No comments:
Post a Comment