1.

How can you merge cells in a table?

Answer»

By using attributes Colspan or Rowspan

1. colspan: It Is used to span or to stretch a cell, over a number of columns.

Eg: <TD Colspan=3> spans the cell over three columns.

2. rowspan: It is used to span or to stretch a cell over a number of rows.

Eg: <TD Rowspan=3> spans the cell over three rows.



Discussion

No Comment Found