Key Ideas
1colspan — Merging Columns. colspan="N" makes a cell occupy N columns instead of one. The key rule: remove N-1 cells from that row — the browser doesn't add space automatically.
2rowspan — Merging Rows. rowspan="N" makes a cell span N rows vertically. Again, you must remove the corresponding cells from the N-1 rows below.
3Combining Both. You can use colspan and rowspan on the same cell to create a cell that spans multiple rows and multiple columns simultaneously. This is useful for complex report-style...
4Debugging Broken Tables. When a spanning table looks wrong, work through this checklist: