Home  >  Article  >  Web Front-end  >  HTML table markup tutorial (35): Cross-column attributes COLSPAN_HTML/Xhtml_Web page production

HTML table markup tutorial (35): Cross-column attributes COLSPAN_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:45:072431browse

In complex table structures, some cells span multiple cells in the vertical direction, which requires the use of the cross-column attribute COLSPAN.
Basic Grammar

Grammar explanation
VALUE represents the number of columns the cell spans.
File example: 10-33.htm
Achieve cells across columns through the COLSPAN attribute.
01
02
03
04
05
06
07 Set Table with fixed span columns
08
09
10

11
12 >
13
14
15
16
17
18
19
20
21
22
23
网页制作软件
网页图像软件 Fireworks
网页制作软件 Dreamweaver
网页动画软件 Flash
11
12 Webpage Production Software>13
14 15 Webpage Image software Fireworks
16 17 18 Web page production software Dreamweaver
19 20 21 Web animation software Flash22 23
24 25 File Description The first cell in row 12 spans two columns.
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