Đối tượng TFoot HTML DOM
Đối tượng TFoot
Đối tượng TFoot đại diện cho một phần tử HTML <tfoot>.
Truy cập một đối tượng TFoot
Bạn có thể truy cập phần tử <tfoot> bằng cách sử dụng getElementById ():
Thí dụ
var x = document.getElementById("myTFoot");
Tạo một đối tượng TFoot
Bạn có thể tạo phần tử <tfoot> bằng cách sử dụng phương thức document.createElement ():
Thí dụ
var x = document.createElement("TFOOT");
Thuộc tính đối tượng 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 |
Thuộc tính và sự kiện tiêu chuẩn
Đối tượng TFoot cũng hỗ trợ các thuộc tính và sự kiện tiêu chuẩn .
Các trang liên quan
Hướng dẫn HTML: Bảng HTML
Tham chiếu HTML: thẻ HTML <tfoot>