Write Output of the following HTML Code:
<html><head><title> Table<title> <body> <table Border=1>
<tr><th align=”center” rowspan=”3”>ONE</th><th> Two</th><th>Three </th></tr>
<tr><td> Rose</td><td>Lily</td> <tr><td align=”center”>Pansy</td><td align=”center”
colspan=”2”>Dahlia</td></tr><table></body><html>
Answers
Answered by
3
The code is not correct.
I think the correct code is :
<html>
<head><title> Table</title> </head>
<body>
<table border="1">
<tr>
<th align="center " rowspan="3">ONE</th>
<th> Two</th>
<th>Three </th>
</tr>
<tr>
<td> Rose</td>
<td>Lily</td>
</tr>
<tr>
<td align="center " >Pansy</td>
<td align="center " colspan="2">Dahlia</td>
</tr>
</table>
</body>
<html>
The output is in attachment.
Attachments:
Similar questions