+ 1
What does colspan actually do?
I dont get seem a clear picture of colspan in a table.
3 Answers
+ 7
Colspan is used to span a cell over other cells (horizontally).
Suppose we have a table like this
| 1 | 2 | |
| 3 | 4 | 5|
If we applied colspan="2" attribute to td(2) the table will be like this
| 1 | 2 |
| 3 | 4 | 5|
And if we applied colspan=
"3"
| 1 | 2 |
| 3 | 4 | 5| |
That's it!
+ 2
Oh..it is clear now.Thanks a lot!
+ 2
now try grid css way better
Hot today
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
2 Votes
Тренажер кода
0 Votes
Python palindrome challenge.
1 Votes
Java
0 Votes
Number of Ones ( C++ ) question!
1 Votes