HTML Rowspan, Colspan

By: Prof. Fazal Rehman Shamil
Last modified on May 7th, 2020

What is rowspan?

The amount of row that a table covers.

What is colspan?

The amount of column that a table covers.

How to put rowspan and colspan in HTML?

Download Code

rowspan and colspan in html
Output:

rowspan and colspan in hypertext markup language

Explanation:

Statement 4 to 6: Row 1

Statement 7 to 10: Row 2

Statement 11 to 13: Row 3

Output

1 2 3
apple banana

Video Lecture

Prof. Fazal Rehman Shamil