Computer Studies
Create a webpage to display your marks of First Terminal Examination by using table tags. Create 3 columns viz. Sl. No., Subject and Marks. Also make 5 rows to enter marks for 5 subjects viz. English, Hindi, Science, Social Science and Computer Science. Set the border size to 2 and border color to blue.
Answer
<HTML>
<HEAD>
<TITLE> Question 4 </TITLE>
</HEAD>
<BODY>
<TABLE BORDERCOLOR = "BLUE" BORDER = "2">
<CAPTION Align = "Center"> Marks of First Terminal Examination </CAPTION>
<TR>
<TH> Sl. No. </TH>
<TH> Subject </TH>
<TH> Marks </TH>
</TR>
<TR>
<TD> 1 </TD> <TD> English </TD> <TD> 95 </TD>
</TR>
<TR>
<TD> 2 </TD> <TD> Hindi </TD> <TD> 93 </TD>
</TR>
<TR>
<TD> 3 </TD> <TD> Science </TD> <TD> 92 </TD>
</TR>
<TR>
<TD> 4 </TD> <TD> Social Science </TD> <TD> 97 </TD>
</TR>
<TR>
<TD> 5 </TD> <TD> Computer Science </TD> <TD> 99 </TD>
</TR>
</TABLE>
</BODY>
</HTML>
Related Questions
Distinguish between <TR> and <TD> tags
Write down HTML codes to create a table with table headings and other details as given below
Rank Medal First Gold Second Silver Third Bronze Design a table using HTML codes with the table headings viz. Landmark, City, and Country. Create 3 columns and 4 rows to enter all the details given below. Set the border size to 2, border color to red and table background color to yellow.
Landmark City Country Taj Mahal Agra India Leaning Tower Pisa Italy Eiffel Tower Paris France Create a Webpage by using HTML codes with the details given below
Caption: TV channels
TV Channels ZEE Zee News Zee Cinema STAR Star Sports Star Plus The other details are: Body Bgcolor="Pink", Table Border="2", Bordercolor="Red" Bgcolor="Green".