Width (XHTML table model; MathML 2.0 DTD)


See documentation for the HTML 4.0 (XHTML) table model or Mathematical Markup Language (MathML) 2.0 DTD, dependent upon the element involved.

In an XHTML table, this attribute 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. The width value can be either an integer number of pixels or a percentage of the width of the display window.

Attribute Values

In Elements

<col> Table Column (XHTML table model); <colgroup> Table Column Group (XHTML table model); <mml:math> Math (MathML 2.0 DTD); <table> Table (XHTML table model)
Value Meaning
Number For usage with XHTML table model elements, the number that specifies the width of the table
Number For usage with <mml:math>, see MathML documentation.
Restriction: This attribute may be specified if the element is used.