HTML and CSS Reference
In-Depth Information
Element/Attribute
Description
ƒƒƒdatasrc=”
url
”
Provides the URL or ID of the data source bound with the text area box (IE only)
ƒƒƒcols=”
integer
”
Specifies the width of the text area box in characters
ƒƒƒdisable="disable"
Disables the text area field
ƒƒƒform="
id
"
Associates the text area with the form identified by
id
(HTML5)
ƒƒƒmaxlength="
integer
"
Specifies the maximum allowed value length for the text area
ƒƒƒname=”
text
”
Specifies the name of the text area box
ƒƒƒplaceholder=”
text
”
Provides a short hint intended to aid the user when entering data (HTML5)
ƒƒƒreadonly=”readonly”
Specifies the value of the text area box, cannot be modified
ƒƒƒrequired=”required”
Indicates whether the text area is required for validation (HTML5)
ƒƒƒrows=”
integer
”
Specifies the number of visible rows in the text area box
ƒƒƒwrap=”
soft
|hard”
Specifies how text is wrapped within the text area box and how that text-
wrapping information is sent to the server-side program
<tfoot>ƒ</tfoot>
Encloses the content of the Web table footer
ƒƒƒalign=”
align
”
Specifies the alignment of the contents in the cells of the table footer where
align
is left, center, right, justify, or char (obsolete)
ƒƒƒchar=”
char
”
Specifies the character used for aligning the table footer contents when the
align attribute is set to “char” (obsolete)
ƒƒƒcharoff=”
integer
”
Specifies the offset in pixels from the alignment character specified in the char
attribute (obsolete)
ƒƒƒvalign=”
align
”ƒ
Specifies the vertical alignment of the contents in the cells of the table footer
where
align
is baseline, bottom, middle, or top (obsolete)
<th>ƒ</th>
Encloses the data of a table header cell
ƒƒƒabbr=”
text
”
Supplies an abbreviated version of the contents of the table cell (obsolete)
ƒƒƒalign=”
align
”
Specifies the horizontal alignment of the table cell data where
align
is left, cen-
ter, or right (obsolete)
ƒƒƒaxis=”
textƒlist
”
Provides a list of table categories that can be mapped to a table hierarchy
(obsolete)
ƒƒƒbgcolor=”
color
”
Specifies the background color of the table cell (obsolete)
ƒƒƒchar=”
char
”
Specifies the character used for aligning the table cell contents when the align
attribute is set to “char” (obsolete)
ƒƒƒcharoff=”
integer
”
Specifies the offset in pixels from the alignment character specified in the char
attribute (obsolete)
ƒƒƒcolspan=”
integer
”
Specifies the number of columns the table cell spans
ƒƒƒheaders=”
text
”
A space-separated list of table headers associated with the table cell
ƒƒƒheight=”
integer
”
Specifies the height of the table cell in pixels (obsolete)
ƒƒƒnowrap=”nowrap”
Disables line-wrapping within the table cell (obsolete)
ƒƒƒrowspan=”
integer
”
Specifies the number of rows the table cell spans
ƒƒƒscope=”col|colgroup|
ƒƒƒrow|rowgroup”
Specifies the scope of the table for which the cell provides data
ƒƒƒvalign=”
align
”
Specifies the vertical alignment of the contents of the table cell where
align
is
top, middle, or bottom (obsolete)
ƒƒƒwidth=”
integer
”
Specifies the width of the cell in pixels (obsolete)