Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using rowspan and colspan attributes

Similar presentations


Presentation on theme: "Using rowspan and colspan attributes"— Presentation transcript:

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


Download ppt "Using rowspan and colspan attributes"

Similar presentations


Ads by Google