CBSE Class 10 Computer Applications Question 84 of 125

HTML II — Images, Links and Tables — Question 25

Back to all questions
25
Question

Question 9

Observe the following table and write the HTML code to generate it :

Write code to produce this HTML table. HTML Images, Links & Tables, Computer Applications Code 165 Sumita Arora Solutions CBSE Class 10.

Note. 1st row has pink background.

Answer
<HTML>
<BODY>
<TABLE BORDER="1">
<TR>
<TH BGCOLOR = "PINK" ALIGN = "CENTER">Question</TH>
<TH BGCOLOR = "PINK" ALIGN = "CENTER">Marks</TH>
</TR>
<TR>
<TD ROWSPAN = "3" ALIGN = "CENTER">1</TD>
<TD ALIGN = "CENTER">2</TD>
</TR>
<TR>
<TD ALIGN = "CENTER">2</TD>
</TR>
<TR>
<TD ALIGN = "CENTER">5</TD>
</TR>
</TABLE>
</BODY>
</HTML>