What should colspan="2" look like?



What should the example for colspan=“2” in this exercise look like? What does a td element look like when it spans multiple columns?


Here is what the html will look like on the page (with a little extra css added to make the sections clearer).
Note that the “Out of Town” td element spans both the “Monday” and “Tuesday” columns, for a total colspan of 2.

FAQ: Learn HTML Tables - Tables - Spanning Columns

Which attribute allows me to span two cells in different rows?


I think it’s rowspan=“number”.


rowspan=“2” цифра означает сколько ячеек нужно обьеденить