-
Notifications
You must be signed in to change notification settings - Fork 0
/
nested-table.html
34 lines (33 loc) · 1.28 KB
/
nested-table.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
<title>
</title>
</head>
<body>
<!?The following table tag is used to create outer table on a webpage.
This table tag contains two attributes border and bordercolor.
The border attribute is used to specify the border (4) of the outer table, and the bordercolor is used to specify the green colour of border of an outer table. -->
<table border="4" bordercolor="green">
<tr>
<td> It is a 1st Cell of 1st row in the 1st Table. </td>
<td> It is a 2nd Cell of 1st row in the 1st Table.
<!?The following table tag is used to create an inner table which is shown in the second cell of the first row in the outer table on a webpage.
This table tag also contains two attributes border and bordercolor.
The border attribute is used to specify the border (6) of the inner table, and the bordercolor is used to specify the blue colour of border of an inner table. -->
<table border="6" bordercolor="blue">
<tr>
<td> It is a 1st Cell of 1st row in the 2nd Table. </td>
</tr>
<tr>
<td> It is a 2nd Cell of 2nd row in the 2nd Table. </td></tr>
</table>
</td>
</tr>
<tr>
<td> It is a 3rd Cell of 2nd row in the 1st Table. </td>
<td> It is a 4th Cell of 2nd row in the 1st Table. </td>
</tr>
</table>
</body>
</html>