كائن HTML DOM THead
هذا الكائن
يمثل كائن THead عنصر <رأس> HTML.
الوصول إلى كائن THead
يمكنك الوصول إلى عنصر <thead> باستخدام getElementById ():
مثال
var x = document.getElementById("myTHead");
قم بإنشاء كائن THead
يمكنك إنشاء عنصر <thead> باستخدام طريقة document.createElement ():
مثال
var x = document.createElement("THEAD");
THead خصائص الكائن
Property | Description |
---|---|
align | Not supported in HTML5. Use style.textAlign instead. Sets or returns the horizontal alignment of the content inside the thead element |
ch | Not supported in HTML5. Sets or returns an alignment character inside the thead 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 |
الخصائص القياسية والأحداث
يدعم كائن THead أيضًا الخصائص والأحداث القياسية .
الصفحات ذات الصلة
دروس HTML: جداول HTML
مرجع HTML: علامة <رأس> HTML