Tuesday, 21 July 2015

Web Designing Tutorials(The ROWSPAN and COLSPAN Attributes)

Suppose you wanted a table like this one:
An HTML table showing example of COLSPAN
Here, the two cells at the top stretch across the two cells below it. For a complex table of different cell size like this, you can use ROWSPAN and COLSPAN. This can get quite complex. But remember that Columns go down, and Rows go across. To have one big cell stretch horizontally across two smaller cells, the code would be this:

No comments:

Post a Comment