GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

5 results across 6 corpora for HTMLTableRowElement: bgColor property.

Developer library 5

` ` HTML table row element

td> </tr> <tr> <th scope="row">Permitted ARIA roles</th> <td>Any</td> </tr> <tr> <th scope="row">DOM interface</th> <td>HTMLTableRowElement</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, table, tbody, t

HTMLTableRowElement

HTML DOM The **`HTMLTableRowElement`** interface provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table. ## Instance properties _Inherits properties from its parent, HTMLElement._ - HTMLTableRowElement.cells - : Returns a live HTMLCollection containing the cells in the row. The

HTMLTableRowElement: bgColor property

HTML DOM The **`HTMLTableRowElement.bgColor`** property is used to set the background color of a row or retrieve the value of the obsolete [`bgColor`](/docs/Web/HTML/Reference/Elements/tr#bgcolor) attribute, if present. > [!NOTE] > This property is deprecated and CSS should be used to set the background color. Use the background-color property instead. ## Value One of the following value types can be used: - a n

HTMLTableElement

LTableElement` interface provides some convenience methods for creating and manipulating tables. Two frequently used methods are HTMLTableElement.insertRow and HTMLTableRowElement.insertCell. To add a row and some cells to an existing table: ```html <table id="table0"> <tbody> <tr> <td>Row 0 Cell 0</td> <td>Row 0 Cell 1</td> </tr> </tbody> </table> ``` ```js const table = document.getElemen

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement

HTMLTableCellElement: bgColor property

rence/Properties/background-color#colorized_tables) is available on the background-color page. ## Specifications ## Browser compatibility ## See also - HTMLTableRowElement.bgColor

JSON results · Services directory