Interview Question

What is rowspan?

Rowspan joins table rows for one cell.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

The `rowspan` attribute makes one table cell cover more than one row. β€’ It is written inside an element’s opening tag. β€’ The HTML Standard limits which elements may use it and which values are valid. β€’ Browsers apply the attribute when they process the element or the resource it controls.

💡 Simple Example

<td rowspan="2">Monday</td>

⚡ Quick Revision

Rowspan joins table rows for one cell.