Computer Applications
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.](https://cdn1.knowledgeboat.com/img/drc10/q8a-exam-question-html-2-computer-code-165-sumita-solutions-938x266.png)
Answer
<HTML>
<BODY>
<TABLE BORDER="1">
<TR> <TH COLSPAN = "4" ALIGN = "CENTER">Marks</TH> </TR>
<TR>
<TD ALIGN = "CENTER"> English </TD>
<TD ALIGN = "CENTER"> Maths </TD>
<TD ALIGN = "CENTER"> Economics </TD>
<TD ALIGN = "CENTER"> Physics </TD>
</TR>
<TR>
<TD ALIGN = "CENTER"> 67 </TD>
<TD ALIGN = "CENTER"> 89 </TD>
<TD ALIGN = "CENTER"> 77 </TD>
<TD ALIGN = "CENTER"> 92 </TD>
</TR>
</TABLE>
</BODY>
</HTML>
Related Questions
Identify which of the following is a tag or an attribute :
(i) border
(ii) img
(iii) alt
(iv) src
(v) href
Write the names of two attributes each for the following tags :
(i)
<HR>
(ii)
<Body>
(iii)
<img>
(iv)
<Table>
(v)
<A>
Observe the following table and write the HTML code to generate it :
Note. 1st row has pink background.
Consider the HTML code :
<A HREF = #intro> Introduction </A>
In the above code,
(i) What is the purpose of # ?
(ii) What will happen when the user clicks "Introduction" ?