CBSE Class 10 Computer Applications
Question 11 of 11
Solved 2022 Question Paper CBSE Class 10 Computer Applications (165) — Question 2
Back to all questions 2
Question Question 9
Write the HTML code to design a Web page as shown below :

Consider the specifications as given below. Students can write the code for any 4 specifications out of the given 5 specifications.
Specification-1 : Use CSS to set the following for the entire body :
- Text color of the entire page as Tomato.
- Background color of the entire page as Light blue.
- Font-family as Helvetica.
Specification-2 : The value of the table border attribute should be 1. Table header tag should be used wherever required.
Specification-3 : The table should exactly contain 4 rows and 4 columns. The data in each cell should be as shown in the above table.
Specification-4 : Attribute rowspan should be used wherever required.
Specification-5 : Attribute colspan should be used wherever required.
<HTML>
<HEAD>
<STYLE type = "text/css">
body {
color: Tomato;
background-color: LightBlue;
font-family: Helvetica;
}
</STYLE>
</HEAD>
<BODY>
<TABLE BORDER = "1" CELLSPACING = "3">
<TR>
<TH> Roll No. </TH>
<TH> Name </TH>
<TH> Marks </TH>
<TH> Class Average </TH>
</TR>
<TR>
<TD> 1 </TD>
<TD> Amit </TD>
<TD> 95 </TD>
<TD ROWSPAN = "3"> 95.5 </TD>
</TR>
<TR>
<TD> 2 </TD>
<TD> Angel </TD>
<TD> 96 </TD>
</TR>
<TR>
<TD COLSPAN = "3"> Teacher Mr. Hamid </TD>
</TR>
</TABLE>
</BODY>
</HTML>