O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Spanning Columns and Rows

You may span a th or td across more than one column or row with the colspan and rowspan attributes, respectively. The number you assign to the attributes specifies the number of cells they span (Image and Image).

Image I’ve indicated that Celebrity Hoedown runs on both Tuesday and Wednesday at 8 p.m. by applying colspan="2" to the td that contains the show. Similarly, I added rowspan="2" to the td containing Movie of the Week, because it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required