HTML and CSS Reference
In-Depth Information
value=" text "
input type= " file "
Allows users to submit external files with their form submissions by providing a browsing
mechanism in the form:
<form enctype="multipart/form-data" >
<p>Send this file with my form information:<br>
<input type="file" name="attachment" size="28" >
</p>
</form>
HTML5 Global Attributes
accept=" MIME type "
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 )
multiple ( multiple="multiple" in XHTML) ( Not in HTML 4.01 )
name=" text "
required ( required="required" in XHTML) ( Not in HTML 4.01 )
input type= " hidden "
Creates a control that does not display in the browser. Hidden controls can be used to pass
special form-processing information to the server that the user cannot see or alter:
<input type="hidden" name="productID" value="12-XL" >
HTML5 Global Attributes
disabled ( disabled="disabled" in XHTML) ( Not in HTML 4.01 )
form=" id of form owner " ( Not in HTML 4.01 )
name=" text " ( Required )
Search WWH ::




Custom Search