What is colspan in HTML?

The colspan attribute allows you to create table cells that span multiple columns horizontally, merging those columns into a single cell.

Go from files to website in seconds.

Start a free trial for 7 days — no credit card required

Get Started for Free