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.

LandmarkCityCountry
Taj MahalAgraIndia
Leaning TowerPisaItaly
Eiffel TowerParisFrance

HTML Advanced Features

98 Likes

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>

Answered By

48 Likes


Related Questions