Computer Studies
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 |
Answer
<HTML>
<HEAD>
<TITLE> Question 5 </TITLE>
</HEAD>
<BODY>
<TABLE BORDERCOLOR = "RED" BORDER = "2" BGCOLOR = "YELLOW">
<TR>
<TH> Landmark </TH>
<TH> City </TH>
<TH> Country </TH>
</TR>
<TR>
<TD> Taj Mahal </TD> <TD> Agra </TD> <TD> India </TD>
</TR>
<TR>
<TD> Leaning Tower </TD> <TD> Pisa </TD> <TD> Italy </TD>
</TR>
<TR>
<TD> Eiffel Tower </TD> <TD> Paris </TD> <TD> France </TD>
</TR>
</TABLE>
</BODY>
</HTML>
Related Questions
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 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.
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".
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.
Subject Paper Marks English Language 93 Literature 91 Hindi Language 89 Literature 92 Science Physics 93 Chemistry 90 Biology 88 Set the border size to 2, border color to green, table background color to yellow and body background color to pink.