How to merge table cells in HTML PDF

Title How to merge table cells in HTML
Author Goldy Pandey
Course Business ethics
Institution Mahatma Gandhi Kashi Vidyapith
Pages 2
File Size 128.3 KB
File Type PDF
Total Downloads 107
Total Views 154

Summary

ssdsd...


Description

12/23/21, 2:15 PM

How to merge table cells in HTML?

How to merge table cells in HTML? To merge cells in HTML, use the colspan and rowspan attribute. The rowspan attribute is for the number of rows a cell should span, whereas the colspan attribute is for a number of columns a cell should span. Both the attribute will be inside the tag. The number will be a numeric value, for example, 2 for 2 rows if rowspan, 2 for 2 columns if column span.

Firstly, we will see how to create a table in HTML with 3 rows and 3 columns Live Demo



Heading

Let’s merge cells using the colspan and rowspan attribute Live Demo



Heading

https://www.tutorialspoint.com/How-to-merge-table-cells-in-HTML

2/2...


Similar Free PDFs