In complex table structures, some cells span multiple cells in the horizontal direction, which requires the use of the cross-row attribute ROWSPAN.
Basic syntax<TD ROWSPAN=VALUE>
Syntax explanationVALUE represents the number of rows that a cell spans.
File example: 10-32.htmImplement cells across rows through the ROWSPAN property.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-32.htm -->
03 <!-- File description: Set cross-row tables-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Set cross-row tables</TITLE>
08 </HEAD>
09 <BODY>
10 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 ALIGN=CENTER>
11 <TR>
12 <TD>Software Classification</TD><TD>Software Name</TD>
13 </TR>
14 <TR>
15 <TD RowSpan=3>Web page production software</TD>
16 <TD>Fireworks</TD>
17 </TR>
18 <TR>
19 <TD>Dreamweaver</TD>
20 </TR>
21 <TR>
22 <TD>Flash</TD>
23 </TR>
24 </TABLE>
25 </BODY>
26 </HTML>
Document descriptionLine 15 The first cell spans 3 lines.