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