Obiekt TBody DOM HTML

TBody object

The TBody object represents the HTML <tbody> element.

Access TBody object

You can use getElementById() to access the <tbody> element:

var x = document.getElementById("myTBody");

Try it yourself

Create TBody object

You can use the document.createElement() method to create a <tbody> element:

var x = document.createElement("TBODY");

Try it yourself

TBody object properties

Atrybuty Description
align

HTML5 does not support.Proszę użyć style.textAlign.

Set or return the horizontal alignment of the content within the tbody element.

ch

HTML5 does not support.

Set or return the alignment character within the tbody element.

chOff

HTML5 does not support.

Set or return the horizontal offset of the ch attribute.

vAlign

HTML5 does not support.Proszę użyć style.verticalAlign.

Ustawia lub zwraca sposób wertykalnego wyważenia treści elementu thead.

Standardowe atrybuty i zdarzenia

Obiekt TBody obsługuje standardyAtrybutyiZdarzenia.

Strony związane

Kurs HTML:Tabela HTML

Przeglądarka HTML:Tag <tbody> HTML