HTML and CSS Reference
In-Depth Information
input type=
"
submit
"
Creates a submit button control. Pressing the button immediately sends the information in the
form to the server for processing:
<p>You have completed the form.</p>
<p>
<input type="submit">
</p>
HTML5 Global Attributes
autofocus
(
autofocus="autofocus"
in XHTML) (
Not in HTML 4.01
)
disabled
(
disabled="disabled"
in XHTML)
form="
id of form owner
"
(
Not in HTML 4.01
)
formaction="
URL
"
(
Not in HTML 4.01
)
formenctype="
content type
"
(
Not in HTML 4.01
)
formmethod="get|post "
(
Not in HTML 4.01
)
formnovalidate
(
formnovalidate="formnovalidate"
in XHTML) (
Not in HTML 4.01
)
formtarget="
name
"
(
Not in HTML 4.01
)
name="
text
"
value="
text
"
input type=
"
tel
"
This input type is not valid in HTML 4.01
.
Creates an input control for entering and editing a telephone number:
<input type="tel"
name="homeno" value="000-000-0000"
>
HTML5 Global Attributes
autocomplete="on|off"
autofocus
(
autofocus="autofocus"
in XHTML)
disabled
(
disabled="disabled"
in XHTML)