What is colspan in HTML? | Sololearn: Learn to code for FREE!


What is colspan in HTML?

What is the use of colspan in html?

1/12/2018 8:37:46 PM

Praveen Mohapatra

5 Answers

New Answer


The amount of columns one table cell will span. So collspan=2 will create one cell the size of two columns




it's for example https://code.sololearn.com/WDDeHvMvD88y/?ref=app


@The Coding Sloth, :( you was faster;)


Haha, yes 😉. But you included rowspan and I didn't, so you had to do a bit more work.