Advertisements
Advertisements
Question
Write HTML code to produce the following table:
| A | B |
| C |
Answer in Brief
Advertisements
Solution
HTML CODE:
<html>
<head>
<title> Table with Attribute </title>
</head>
<body>
<table cellspacing=1 cell padding=1
border=10 bordercolor=blue align=center
bgcolor=yello width = 50%>
<TR>
<TH ROWSPAN = 2 > A </TH>
<TH>B</TH>
<TR>
<TH> C </TH>
</TR>
</TR>
</table>
</body>
</html>shaalaa.com
Is there an error in this question or solution?
