top of page
Search

COLSPAN AND ROWSPAN IN HTML

Writer: Harshit SharmaHarshit Sharma

HTML - Rowspan attribute and HTML - Colspan attribute: How to create layouts using tables? Rowspan and Colspan attributes. How to merge table cells?

HTML Rowspan attribute: spans a cell vertically. the value should be how many cells to span consider the current cell too.

<th rowspan=2>

OR

<td rowspan=2>

HTML Colspan attribute: spans a cell horizontally. the value should be how many cells to span consider the current cell.

<th colspan=2>

OR

<td colspan=2>

 
 
 

Comments


Post: Blog2_Post

Subscribe Form

Thanks for submitting!

  • Facebook
  • Twitter
  • LinkedIn

©2020 by CODEIN. Proudly created with Wix.com

bottom of page