📜  HTML thead标签

📅  最后修改于: 2020-11-04 00:46:40             🧑  作者: Mango

HTML标签

HTML标签用于定义HTML表的标题。标签与和标记,用于定义HTML表格中的表格标题,表格主体和表格页脚。

标签必须是

元素,并且必须在任何, , 要么元素。

标签应至少包含一行里面的元素。

句法

    

以下是有关HTML的一些规范

标签

Display Inline
Start tag/End tag Start and End tag
Usage Table header




    HTML thead Tag
    


  

Example of thead tag

Population of India
Year Population
2015 1,309,053,980
2016 1,324,171,354
2017 1,339,180,127
2018 1,354,051,854

输出:

属性:

特定于标签的属性:

element. (Not Supported in HTML5) element to the character. (Not Supported in HTML5) element. (Not Supported in HTML5)
Attribute Value Description
align right
left
center
justify
char
It determines the alignment of the content inside the
char Character It specifies the alignment of the content inside the
charoff Number It specifies the number of characters the content that will be aligned from the character specified by the char attribute. (Not Supported in HTML5)
valign top
middle
bottom
baseline
It determines the vertical alignment of the content inside the

全局属性:

标签支持HTML中的Global属性。

事件属性:

标签支持HTML中的事件属性。

支持的浏览器

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes