How to use the html thead tag

silencement
Release: 2019-05-27 11:06:52
Original
4797 people have browsed it

How to use the html thead tag

tag definition and usage

1. In html, thetag is used to combine html tables The header content is usually used together with the

tag and thetag to define the header, body and footer of the table respectively.

2. Thetag must be a child element of the

3. The

basic attributes of the tag (no longer supported by html5)

align right: the alignment of the content in the

element (values: left, center ,justify,char).

char: The character in the

element is used for text alignment (value: character).

charoff: The offset of the first alignment character of the content in the

element (value: number).

valign: The vertical alignment of the content in the

element (values: top, middle, bottom, baseline).

tag supports html global attributes and html event attributes

Format

  ......  ...... 
Copy after login

Instance

    html< tbody>标签笔记 
thead1 thead2 thead3
tfoot1 tfoot2 tfoot3
tbody1 tbody2 tbody3
Copy after login

operation result:

How to use the html thead tag

tag element, and is applied after the tag, and tags Before. tag, tag and tag do not affect the layout of the table by default. CSS is usually used to define the style of the table.
tag,

The above is the detailed content of How to use the html thead tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!