CBSE Class 10 Computer Applications Question 27 of 31

Solved Sample Paper 2 — Question 5

Back to all questions
5
Question

Question 23

An artist has to prepare a table to showcase the type of paintings he has created, their quantity and their price. Help him to make the table. Observe the table and write the code to generate it.

An artist has to prepare a table to showcase the type of paintings he has created, their quantity and their price. Help him to make the table. Observe the table and write the code to generate it. Computer Applications Code 165 Sample Paper Solved CBSE Class 10.
Answer
<HTML>
    <HEAD>
        <TITLE>Table</TITLE>
    </HEAD>
    <BODY>
        <TABLE border = "3" align = "center" cellspacing = "3">
        <CAPTION> Available Paintings </CAPTION>
        <TR>
            <TD rowspan = "5"> I <BR> N <BR> D <BR> I <BR> A <BR> N </TD>
            <TD colspan ="3"> PAINTING </TD>
        </TR>
        <TR>
            <TH align = "center"> NAME </TH>
            <TH> QTY </TH>
            <TH> PRICE </TH>
        </TR>
        <TR>
            <TD> Oil Painting </TD>
            <TD align = "center"> 4 </TD>
            <TD> 3000 </TD>
        </TR>
        <TR>
        <TD> Glass Painting </TD>
        <TD align = "center"> 2 </TD>
        <TD> 5000 </TD>
        </TR>
        <TR>
        <TD> Canvas </TD>
        <TD align = "center"> 2 </TD>
        <TD> 1000 </TD>
        </TR>
        </TABLE>
    </BODY>
</HTML>