In this Video We Learn How to Create HTML Table using Rowspan and Colspan Step by Step Using Easy Example
Example 1:
[table border=“1”]
[tr]
[td] Roll No. [/td]
[td] Name [/td]
[/tr]
[tr]
[td]1001[/td]
[td]hafeez[/td]
[/tr]
[/table]
Example 2:
[table border="2" align="center"]
[tr]
[th rowspan="2"]rollno[/th]
[th rowspan="2"]Name[/th]
[th colspan="3"]Marks[/th]
[/tr]
[tr]
[td]c++[/td]
[td]Java[/td]
[/tr]
[tr]
[td]1001[/td]
[td]ali[/td]
[td]67[/td]
[td]67[/td]
[/tr]
[/table]
Example 3:
[table border="2" align="center"]
[tr]
[th rowspan="2"]rollno[/th]
[th rowspan="2"]Name[/th]
[th colspan="2"]Marks[/th]
[th rowspan="2"]Total[/th]
[/tr]
[tr]
[td]c++[/td]
[td]Java[/td]
[/tr]
[tr]
[td]1001[/td]
[td]ali[/td]
[td]80[/td]
[td]70[/td]
[td]150[/td]
[/tr]
[/table]
Негізгі бет HTML Table Rowspan and Colspan
No video
Пікірлер: 12