Home >Web Front-end >HTML Tutorial >HTML table markup tutorial (14): Table header_HTML/Xhtml_Web page production

HTML table markup tutorial (14): Table header_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:44:451997browse

In HTML language, you can automatically add titles to tables through tags. In addition, the first row of the table is called the header, which can also be achieved through HTML tags.
Basic syntax
....
....
  
   
  
 ........
标题1 标题2 标题3 标题4 标题5
 
 
Title 1
Title 2
Title 3
Title 4
Title 5
  .....






























大西洋赛区 中部赛区 东南赛区
凯尔特人 76人 活塞 公牛 热火 奇才
尼克斯 步行者 骑士 魔术 山猫
猛龙 过江 雄鹿 芝加歌 老鹰 姚明
Grammar explanation
Define the width of the border line through the BORDER attribute, in pixels.

Comprehensive example of table markup
Atlantic Division Central Division Southeast Division
Celtics 76ers Pistons Bulls Heat Wizards
Net Knicks Pacers Knight Magic Bobcat
Mercy Dragon Crossing the River Stag Chicago Eagle Yao Ming
where refers to the header and title of the table.
Statement:
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