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

0

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

+4

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

+3

https://code.sololearn.com/WrchlspQxtT0/?ref=app

+3

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

+3

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

+3

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