class js.html.TableCellElement extends Element
Available on jsThe HTML Table Cell Element (<td>) defines a cell that content data.
Documentation for this class was provided by MDN.
Instance Fields
var abbr:String
This attribute contains a short abbreviated description of the content of the cell. Some user-agents, such as speech readers, may present this description before the content itself.
Note: Do not use this attribute as it is obsolete in the latest standard: instead either consider starting the cell content by an independent abbreviated content itself or use the abbreviated content as the cell content and use the long content as the description of the cell by putting it in the title attribute.
var align:String
This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:
- left, aligning the content to the left of the cell
- center, centering the content in the cell
- right, aligning the content to the right of the cell
- justify, inserting spaces into the textual content so that the content is justified in the cell
- char, aligning the textual content on a special character with a minimal offset, defined by the
charandcharoffattributes Unimplemented (see bug 2212 ) .
If this attribute is not set, the left value is assumed.
Note: Do not use this attribute as it is obsolete (not supported) in the latest standard.
- To achieve the same effect as the left, center, right or justify values, use the CSS
text-alignproperty on it. - To achieve the same effect as the char value, in CSS3, you can use the value of the
charas the value of thetext-alignproperty Unimplemented .
var axis:String
This attribute contains a list of space-separated strings. Each string is the ID of a group of cells that this header applies to.
Note: Do not use this attribute as it is obsolete in the latest standard: instead use the
scope
attribute.