Download presentation
Presentation is loading. Please wait.
1
Using rowspan and colspan attributes
Creating Tables Using rowspan and colspan attributes
2
Introduction By default a cell appears in one row and one column. However using rowspan and colspan attribute on individual cell <td> tag, you can cause a cell to span multiple rows and columns. When using rowspan and/or colspan attribute, always remember where the cell starts.
3
Rowspan Attribute Rowspan causes a cell to stretch downward to the rows below If you want to make a cell go across several rows, use rowspan attribute with the <td> tag. Rowspan can only extend a cell into the next row if there is room in that row 1 2 3 4 5 6
4
Colspan Attribute Colspan causes a cell to extend to the right into columns on the right. If you want to make a cell go across several columns, use colspan attribute with the <td> tag. Colspan can only extend a cell into the next column if there is room in that column 1 2 3 4 5 6
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.