KnowledgeBoat Logo
|

Computer Studies

Design a table using HTML codes with the table headings viz. Subject, Paper and Marks. Create 3 columns and 4 rows to enter marks obtained in different exams in English, Hindi and Science.

SubjectPaperMarks
EnglishLanguage93
Literature91
HindiLanguage89
Literature92
SciencePhysics93
Chemistry90
Biology88

Set the border size to 2, border color to green, table background color to yellow and body background color to pink.

HTML Advanced Features

70 Likes

Answer

<HTML>
<HEAD> 
<TITLE> Question 7 </TITLE>
</HEAD>
<BODY BGCOLOR = "PINK">
<TABLE BORDERCOLOR = "GREEN" BORDER = "2" BGCOLOR = "YELLOW">
	<TR>
	<TH> Subject </TH>
	<TH> Paper </TH>
	<TH> Marks </TH>
	</TR>
	<TR>
	<TD ROWSPAN = "2"> English </TD> <TD> Language </TD> <TD> 93 </TD>
	</TR>
	<TR>
	<TD> Literature </TD> <TD> 91 </TD> 
	</TR>
	<TR>
	<TD ROWSPAN = "2"> Hindi </TD> <TD> Language </TD> <TD> 89 </TD>
	</TR>
	<TR>
	<TD> Literature </TD> <TD> 92 </TD> 
	</TR>
	<TR>
	<TD ROWSPAN = "3"> Science </TD> <TD> Physics </TD> <TD> 93 </TD>
	</TR>
	<TR>
	<TD> Chemistry </TD> <TD> 90 </TD> 
	</TR>
	<TR>
	<TD> Biology </TD> <TD> 88 </TD> 
	</TR>
</TABLE>
</BODY>
</HTML>

Answered By

40 Likes


Related Questions