Computer Applications
Observe the following table and write the HTML code to generate it :
HTML Advanced Features
13 Likes
Answer
<HTML>
<BODY>
<TABLE BORDER = "1">
<TR> <TH ROWSPAN = "2"> Serial No </TH> <TH ROWSPAN = "2"> Class </TH> <TH colspan = "3" ALIGN = "CENTER"> Number of Students </TH> </TR>
<TR ALIGN = "CENTER"> <TD> English </TD> <TD> Hindi </TD> <TD> Regional </TD> </TR>
<TR ALIGN = "CENTER"> <TD> 1 </TD> <TD> X A </TD> <TD> 35 </TD><TD> 10 </TD><TD> 6 </TD> </TR>
<TR ALIGN = "CENTER"> <TD> 2 </TD> <TD> X B </TD> <TD> 31 </TD><TD> 15 </TD><TD> 4 </TD> </TR>
</TABLE>
</BODY>
</HTML>
Output
Answered By
7 Likes
Related Questions
Write the HTML code to do the following :
To create a hyperlink on the word CLICK to an image named testimage.jpeg.
Write output of the following HTML code.
<html> <head> <title> Table </title> </head> <body> <table BORDER = "1"> <tr> <th ALIGN = "center" rowspan = "3"> ONE </th> <th> TWO </th> <th>THREE </th> </tr> <tr> <td> Rose </td> <td> Lily </td> </tr> <tr> <td ALIGN = "center"> Pansy </td> <td ALIGN = "center" colspan = "2"> Dahlia </td> </tr> </table> </body> </html>
Write HTML code to create tables as shown below :
Write HTML code to create tables as shown below :