This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters. This attribute specifies style information for the current element. This attribute offers advisory information about the element for which it is set. This attribute specifies the base language of an element's attribute values and text content. The default value of this attribute is unknown. Occurs when the pointing device button is clicked over an element. Occurs when the pointing device button is double clicked over an element. Occurs when the pointing device button is pressed over an element. Occurs when the pointing device button is released over an element. Occurs when the pointing device is moved onto an element. Occurs when the pointing device is moved while it is over an element. Occurs when the pointing device is moved away from an element. Occurs when a key is pressed and released over an element. Occurs when a key is pressed down over an element. Occurs when a key is released over an element. Specifies the alignment of data and the justification of text in a cell. left Left-flush data/Left-justify text. This is the default value for table data. center Center data/Center-justify text. This is the default value for table headers. right Right-flush data/Right-justify text. justify Double-justify text. char Align text around a specific character. If a user agent doesn't support character alignment, behavior in the presence of this value is unspecified. This attribute specifies a single character within a text fragment to act as an axis for alignment. The default value for this attribute is the decimal point character for the current language as set by the lang attribute (e.g., the period in English and the comma in French). User agents are not required to support this attribute. When present, this attribute specifies the offset to the first occurrence of the alignment character on each line. If a line doesn't include the alignment character, it should be horizontally shifted to end at the alignment position. When charoff is used to set the offset of an alignment character, the direction of offset is determined by the current text direction (set by the dir attribute). In left-to-right texts (the default), offset is from the left margin. In right-to-left texts, offset is from the right margin. User agents are not required to support this attribute. An explicit offset. [0-9]+% A percentage offset. Specifies the vertical position of data within a cell. top Cell data is flush with the top of the cell. middle Cell data is centered vertically within the cell. This is the default value. bottom Cell data is flush with the bottom of the cell. baseline All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells. Provides a summary of the table's purpose and structure for user agents rendering to non-visual media such as speech and Braille. Specifies the desired width of the entire table and is intended for visual user agents. When the value is a percentage value, the value is relative to the user agent's available horizontal space. In the absence of any width specification, table width is determined by the user agent. An explicit width. [0-9]+% A percentage width. Specifies the width (in pixels only) of the frame around a table. Specifies which sides of the frame surrounding a table will be visible. void No sides. This is the default value. above The top side only. below The bottom side only. hsides The top and bottom sides only. lhs The left-hand side only. rhs The right-hand side only. vsides The right and left sides only. box All four sides. border All four sides. Specifies which rules will appear between cells within a table. The rendering of rules is user agent dependent. none No rules. This is the default value. groups Rules will appear between row groups (see thead, tfoot, and tbody) and column groups (see colgroup and col) only. rows Rules will appear between rows only. cols Rules will appear between columns only. all Rules will appear between all rows and columns. Specifies how much space the user agent should leave between the left side of the table and the left-hand side of the leftmost column, the top of the table and the top side of the topmost row, and so on for the right and bottom of the table. The attribute also specifies the amount of space to leave between cells. An explicit spacing. [0-9]+% A percentage spacing. Specifies the amount of space between the border of the cell and its contents. If the value of this attribute is a pixel length, all four margins should be this distance from the contents. If the value of the attribute is a percentage length, the top and bottom margins should be equally separated from the content based on a percentage of the available vertical space, and the left and right margins should be equally separated from the content based on a percentage of the available horizontal space. An explicit padding. [0-9]+% A percentage padding. Provides an abbreviated form of the cell's content and may be rendered by user agents when appropriate in place of the cell's content. Abbreviated names should be short since user agents may render them repeatedly. For instance, speech synthesizers may render the abbreviated headers relating to a particular cell before rendering that cell's content. This attribute may be used to place a cell into conceptual categories that can be considered to form axes in an n-dimensional space. User agents may give users access to these categories (e.g., the user may query the user agent for all cells that belong to certain categories, the user agent may present a table in the form of a table of contents, etc.). Please consult an HTML reference for more details. Specifies the list of header cells that provide header information for the current data cell. The value of this attribute is a space-separated list of cell names; those cells must be named by setting their id attribute. Authors generally use the headers attribute to help non-visual user agents render header information about data cells (e.g., header information is spoken prior to the cell data), but the attribute may also be used in conjunction with style sheets. Specifies the set of data cells for which the current header cell provides header information. This attribute may be used in place of the headers attribute, particularly for simple tables. row The current cell provides header information for the rest of the row that contains it col The current cell provides header information for the rest of the column that contains it. rowgroup The header cell provides header information for the rest of the row group that contains it. colgroup The header cell provides header information for the rest of the column group that contains it. Specifies the number of rows spanned by the current cell. The default value of this attribute is one (1 ). The value zero (0 ) means that the cell spans all rows from the current row to the last row of the table section (thead , tbody , or tfoot ) in which the cell is defined. Specifies the number of columns spanned by the current cell. The default value of this attribute is one (1 ). The value zero (0 ) means that the cell spans all columns from the current column to the last column of the column group (colgroup ) in which the cell is defined.
table A formal (captioned) HTML table in a document
informaltable An HTML table without a title
caption An HTML table caption
col Specifications for a column in an HTML table This attribute, whose value must be an integer > 0, specifies the number of columns spanned by the col element; the col element shares its attributes with all the columns it spans. The default value for this attribute is 1 (i.e., a single column). If the span attribute is set to N > 1, the current col element shares its attributes with the next N-1 columns. Specifies a default width for each column spanned by the current col element. It has the same meaning as the width attribute for the colgroup element and overrides it.
colgroup A group of columns in an HTML table This attribute, which must be an integer > 0, specifies the number of columns in a column group. In the absence of a span attribute, each colgroup defines a column group containing one column. If the span attribute is set to N > 0, the current colgroup element defines a column group containing N columns. User agents must ignore this attribute if the colgroup element contains one or more col elements. This attribute specifies a default width for each column in the current column group. In addition to the standard pixel, percentage, and relative values, this attribute allows the special form 0* (zero asterisk) which means that the width of the each column in the group should be the minimum width necessary to hold the column's contents. This implies that a column's entire contents must be known before its width may be correctly computed. Authors should be aware that specifying 0* will prevent visual user agents from rendering a table incrementally. This attribute is overridden for any column in the column group whose width is specified via a col element.
thead A table header consisting of one or more rows in an HTML table
tfoot A table footer consisting of one or more rows in an HTML table
tbody A wrapper for the rows of an HTML table or informal HTML table
tr A row in an HTML table
th A table header entry in an HTML table
td A table entry in an HTML table