كائن HTML DOM TB
كائن TBody
يمثل كائن TBody عنصر HTML <tbody>.
الوصول إلى كائن TBody
يمكنك الوصول إلى عنصر <tbody> باستخدام getElementById ():
مثال
var x = document.getElementById("myTBody");
قم بإنشاء كائن TBody
يمكنك إنشاء عنصر <tbody> باستخدام طريقة document.createElement ():
مثال
var x = document.createElement("TBODY");
خصائص كائن TBody
Property | Description |
---|---|
align | Not supported in HTML5. Use style.textAlign instead. Sets or returns the horizontal alignment of the content inside the tbody element |
ch | Not supported in HTML5. Sets or returns an alignment character inside the tbody element |
chOff | Not supported in HTML5. Sets or returns the horizontal offset of the ch property |
vAlign | Not supported in HTML5. Use style.verticalAlign instead. Sets or returns the vertical alignment of the content within a thead element |
الخصائص القياسية والأحداث
يدعم كائن TBody أيضًا الخصائص والأحداث القياسية .
الصفحات ذات الصلة
دروس HTML: جداول HTML
مرجع HTML: علامة HTML <tbody>