HTMLTableElement: align-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.align-Eigenschaft steht für die
Ausrichtung der Tabelle.
Wert
Einer der folgenden Zeichenkettenwerte:
leftcenterright
Beispiele
js
// Set the alignment of a table
const t = document.getElementById("TableA");
t.align = "center";
Spezifikationen
| Spezifikation |
|---|
| HTML> # dom-table-align> |