HTML and CSS Reference
In-Depth Information
formtarget=" name
name "
Not in HTML 4.01 . Specifies the target window for the form results. It is used only with
a submit button ( type="submit" or "image" ) and has the same function as the target
attribute for the form element.
height=" number of pixels
number of pixels "
Not in HTML 4.01 . Specifies the height of the button image when the input type is set to
image .
Not in HTML 4.01 . Indicates what kind of input mechanism would be most helpful for
users entering content into the form control. Applies to the text and search input types.
list=" id of datalist
id of datalist "
Not in HTML 4.01 . Indicates that the control has a list of predefined suggestions for the
user, which are provided by a datalist element. The value of the list attribute is the id of
the associated datalist . Applies to input types text , email , tel , search , url , number ,
range , date , time , datetime-local , datetime , month , week , and color .
max=" number or string
number or string "
Not in HTML 4.01 . Specifies the upper boundary of the accepted value range for the ele-
ment. The max value must not be less than the min value. Applies to input types number ,
range , date , time , datetime , datetime-local , month , and week .
maxlength=" number
number "
Specifies the maximum number of characters the user can enter for input elements set to
text , password , email , search , tel , or url .
Search WWH ::

Custom Search