KnowledgeBoat Logo
|

Computer Applications

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.

HTML Advanced Features

6 Likes

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>

Answered By

4 Likes


Related Questions