HTML and CSS Reference
In-Depth Information
Table 3-8. ( continued )
Attribute
Element(s)
Description
Value
cols
textarea
Maximum number of characters
per line
Non-negative integer greater
than zero
colspan
td , th
Number of columns that the cell is
to span
Non-negative integer greater
than zero
content
meta
Meta content
Text
contenteditable HTML elements
true | false
Determines whether the element
is editable
controls
audio , video
Playback controls
Boolean attribute
coords
area
Shape coordinates (image map)
List of integers
crossorigin
audio , img , link , script ,
video
anonymous | use-
credentials
Determines how the element
handles crossorigin requests
data
object
Resource URL
URL
datetime
del , ins
Date and (optionally) time of
modification
Date string with optional
time
datetime
time
Time value
Date or time string
default
track
Enable the track if there is no more
suitable track
Boolean attribute
defer
script
Defers script execution
Boolean attribute
dir
ltr | rtl | auto 11
HTML elements
Text directionality
dirname
input , textarea
Form field name to send
directionality (form submission)
Text
disabled
button , fieldset , input ,
keygen , optgroup , option ,
select , textarea
Determines whether the form
control is disabled
Boolean attribute
download
a , area
Indicates resource to be
downloaded rather than
navigating to it, and declares the
filename
Text
enctype
form
application/x-www-form-
urlencoded | multipart/
form-data | text/plain
Encoding type (form submission)
for
label
Associates the label with a form
control
ID
for
output
Specifies controls from which the
output was calculated
Unordered set of unique
space-separated tokens
(case-sensitive)
( continued )
11 The auto attribute value cannot be used on the bdo element.
 
Search WWH ::




Custom Search