Difference between ROWSPAN and COLSPAN attributes.

Q8. What is the difference between the ROWSPAN and COLSPAN attributes?

Ans. The ROWSPAN attribute is used to merge (combine) two or more rows of a table. On the other hand, the COLSPAN attribute is used to merge two or more columns of a table.

Leave a Reply

Your email address will not be published. Required fields are marked *

70 Views
%d bloggers like this: