HTML · Table and list attributes

colspan

Makes a table cell span several columns.

Syntax
colspan="2"

Example

Try it

More in this group

abbr (attribute) headers reversed rowspan scope span (table attribute) start

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course