एचटीएमएल डोम हेड ऑब्जेक्ट
मुख्य वस्तु
THead ऑब्जेक्ट एक HTML <thead> तत्व का प्रतिनिधित्व करता है।
एक थेड ऑब्जेक्ट तक पहुंचें
आप getElementById() का उपयोग करके <thead> तत्व तक पहुंच सकते हैं:
उदाहरण
var x = document.getElementById("myTHead");
एक हेड ऑब्जेक्ट बनाएं
आप document.createElement() विधि का उपयोग करके <thead> तत्व बना सकते हैं:
उदाहरण
var x = document.createElement("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 <थेड> टैग