HTMLTableElement: border-Eigenschaft
Deprecated
Avoid using this feature in new projects. Some table styling attributes have no effect. They are superseded by CSS. This feature may be a candidate for removal from web standards or browsers.>
Die HTMLTableElement.border-Eigenschaft repräsentiert die
Rahmenbreite des <table>-Elements.
Wert
Ein String, der die Breite des Rahmens in Pixeln darstellt.
Beispiele
js
// Set the width of a table border to 2 pixels
const t = document.getElementById("TableA");
t.border = "2";
Spezifikationen
| Spezifikation |
|---|
| HTML> # dom-table-border> |