To merge two or more cells into a single cell horizontally, you use the ______ attribute in a td or th element.

  • align 
  • colspan 
  • merge 
  • rowspan 
The colspan attribute in the

or

element is used to allow the cell to span across multiple columns. This effectively merges cells horizontally. For example, colspan="2" would make a cell span across two columns. 
Add your answer
Loading...

Leave a comment

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