Skip to main content
HTML Output Prediction Medium +20 XP

Table Cell Span

How many columns does this cell occupy?

HTMLRead-only
<td colspan="3">Merged Cell</td>

What is the output?

Show answer and explanation

Answer: 3

colspan='3' makes the table cell span across 3 columns horizontally.

Hint: The attribute value directly tells you.

What this challenge tests

Output Prediction in HTML: tables, colspan.

Related challenges