O L N



Phase 2:Working with rowspan attribute of table tag

rowspan attribute is use to merge rows in a table.
Lets understand it with the help of a basic example:
Follow these steps to understand rowspan and freely use it to create tables.
error

HTML code solution for the above table:

error

Lets look another example to understand rowspan:

error

HTML Source code for the above table.

error

Practice Assignments:

1)
error

2)
error

Understanding colspan attribute of table tag in html

colspan attribute is use to combine or merge columns.
Let's understand colspan attributes with the help of an example.
error

Code Solution
error



Example 2:
error

Solution:

error

Practice Assignments on colspan:

1)
error

2)
error

Now lets Practice both rowspan and colspan.

error

Solution:

error

Practice Assignments to get better at creating Tables.

1)
error


2)
error