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

Docker Tutorial: Using Containers (Simple Example)

If you’re new to Docker, take a look at some of t...

Summary of pitfalls in importing ova files into vmware

Source of the problem As we all know, all network...

Summary of MySQL commonly used type conversion functions (recommended)

1. Concat function. Commonly used connection stri...

Detailed installation and configuration tutorial of MySQL 5.7 under Win10

1. Unzip MySQL 5.7 2. Create a new configuration ...

CSS navigation bar menu with small triangle implementation code

Many web pages have small triangles in their navi...

C# implements MySQL command line backup and recovery

There are many tools available for backing up MyS...

Example of implementing dynamic verification code on a page using JavaScript

introduction: Nowadays, many dynamic verification...

Some suggestions for improving Nginx performance

If your web application runs on only one machine,...

How to quickly add columns in MySQL 8.0

Preface: I heard a long time ago that MySQL 8.0 s...

Detailed analysis of Vue child components and parent components

Table of contents 1. Parent components and child ...

A brief analysis of the best way to deal with forgotten MySQL 8 passwords

Preface Readers who are familiar with MySQL may f...

Windows Service 2016 Datacenter\Stand\Embedded Activation Method (2021)

Run cmd with administrator privileges slmgr /ipk ...