HTML DOM TFootวัตถุ
วัตถุ TFoot
วัตถุ TFoot แสดงถึงองค์ประกอบ HTML <tfoot>
เข้าถึงวัตถุ TFoot
คุณสามารถเข้าถึง <tfoot> องค์ประกอบโดยใช้ getElementById():
ตัวอย่าง
var x = document.getElementById("myTFoot");
สร้างวัตถุ TFoot
คุณสามารถสร้าง <tfoot> องค์ประกอบโดยใช้ document.createElement() วิธีการ:
ตัวอย่าง
var x = document.createElement("TFOOT");
คุณสมบัติอ็อบเจ็กต์ TFoot
Property | Description |
---|---|
align | Not supported in HTML5. Use style.textAlign instead. Sets or returns the horizontal alignment of the content inside the tfoot element |
ch | Not supported in HTML5. Sets or returns an alignment character inside the tfoot 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 tfoot element |
คุณสมบัติและเหตุการณ์มาตรฐาน
ออบเจ็กต์ TFoot ยังสนับสนุนคุณสมบัติและเหตุการณ์ มาตรฐาน อีกด้วย
หน้าที่เกี่ยวข้อง
กวดวิชา HTML: ตาราง HTML
อ้างอิง HTML: แท็ก HTML <tfoot>