Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
3 results across 6 corpora for HTMLTableElement: align property.
Developer library 3
` ` HTML table element
td> </tr> <tr> <th scope="row">Permitted ARIA roles</th> <td>Any</td> </tr> <tr> <th scope="row">DOM interface</th> <td>HTMLTableElement</td> </tr> </tbody> </table> ## Specifications ## Browser compatibility ## See also - [Learn: HTML table basics](/docs/Learn_web_development/Core/Structuring_content/HTML_table_basics) - caption, col, colgroup, tbody, td, tfoot,
HTMLTableElement
HTML DOM The **`HTMLTableElement`** interface provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document. ## Instance properties _Inherits properties from its parent, HTMLElement._ - HTMLTableElement.caption - : An HTMLTableCaptionElement representing the first c
HTMLTableElement: align property
HTML DOM The **`HTMLTableElement.align`** property represents the alignment of the table. ## Value One of the following string values: - `left` - `center` - `right` ## Examples ```js // Set the alignment of a table const t = document.getElementById("TableA"); t.align = "center"; ``` ## Specifications ## Browser compatibility