HTML table tag tutorial (34): row span attribute ROWSPAN

HTML table tag tutorial (34): row span attribute ROWSPAN

In a complex table structure, some cells span multiple cells horizontally, which requires the use of the cross-row attribute ROWSPAN.
Basic syntax
<TD ROWSPAN=VALUE>
Syntax
VALUE represents the number of rows that the cell spans.
File example: 10-32.htm
The ROWSPAN property is used to implement cells that span rows.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-32.htm -->
03 <!-- File Description: Set up a table that spans multiple rows -->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Setting a table that spans multiple rows</TITLE>
08 </HEAD>
09 <BODY>
10 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 ALIGN="CENTER">
11 <TR>
12 <TD>Software Category</TD><TD>Software Name</TD>
13 </TR>
14 <TR>
15 <TD RowSpan=3>Web page creation 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>
File description <br />The first cell in row 15 spans 3 rows.

<<:  Vite+Electron to quickly build VUE3 desktop applications

>>:  Why MySQL does not recommend deleting data

Recommend

Nest.js authorization verification method example

Table of contents 0x0 Introduction 0x1 RBAC Imple...

Implementing countdown effect with javascript

Use Javascript to achieve the countdown effect, f...

Install Linux using VMware virtual machine (CentOS7 image)

1. VMware download and install Link: https://www....

Tutorial on installing mysql5.7.17 via yum on redhat7

The RHEL/CentOS series of Linux operating systems...

Detailed explanation of how to use the vue3 Teleport instant movement function

The use of vue3 Teleport instant movement functio...

How does MySQL ensure data integrity?

The importance of data consistency and integrity ...

Let you understand the working principle of JavaScript

Table of contents Browser kernel JavaScript Engin...

CentOS 6.5 configuration ssh key-free login to execute pssh command explanation

1. Check and install pssh, yum list pssh 2. Becau...

mysql 5.7.5 m15 winx64.zip installation tutorial

How to install and configure mysql-5.7.5-m15-winx...

Detailed explanation of common MySQL operation commands in Linux terminal

Serve: # chkconfig --list List all system service...

Embed player in web page embed element autostart false invalid

Recently, I encountered the need to embed a player...

CentOS6 upgrade glibc operation steps

Table of contents background Compile glibc 2.14 M...

Linux swap partition (detailed explanation)

Table of contents linux 1. What is SWAP 2. What d...

MySQL Series 14 MySQL High Availability Implementation

1. MHA ​By monitoring the master node, automatic ...