Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for HTMLTableElement: border property.
Developer library 6
` ` 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: border property
HTML DOM The **`HTMLTableElement.border`** property represents the border width of the table element. ## Value A string representing the width of the border in pixels. ## Examples ```js // Set the width of a table border to 2 pixels const t = document.getElementById("TableA"); t.border = "2"; ``` ## Specifications ## Browser compatibility
HTMLTableElement: cellSpacing property
HTML DOM While you should instead use the CSS border-spacing property, the obsolete HTMLTableElement interface's **`cellSpacing`** property represents the spacing around the individual th and td elements representing a table's cells. Any two cells are separated by the sum of the `cellSpacing` of each of the two cells. ## Value A string which is either a number of pixels (such as `"10"`) or a percentage value (like
HTMLTableElement: rules property
HTML DOM The **`HTMLTableElement.rules`** property indicates which cell borders to render in the table. ## Value One of the following: - `none` - : No rules - `groups` - : Lines between groups only - `rows` - : Lines between rows - `cols` - : Lines between cols - `all` - : Lines between all cells ## Examples ```js // Turn on all the internal borders of a table const t = document.getElementById("TableI
HTMLTableElement: frame property
HTML DOM The HTMLTableElement interface's **`frame`** property is a string that indicates which of the table's exterior borders should be drawn. ## Value One of the following: - `void` - : No sides. This is the default. - `"above"` - : Top side - `"below"` - : Bottom side - `"hsides"` - : Top and bottom only - `"vsides"` - : Right and left sides only - `"lhs"` - : Left-hand side only - `"rhs"` - : R