Q. Design a webpage with 3 hyperlinks Maharashtra, Rajasthan and kerla. On the click of the hyperlinks display a new page with information about these states. Make use of reference point.

Beautiful States.html
<html>
<head>
  <title> Example of Hyperlinks</title>
</head>

<body>
  Know more about <a href="statesinfo2.html">Beautiful States</a>
<ul>
<li> <a href=tableeg-states.html#maha>Maharashtra</a></li>
<li> <a href= statesinfo2.html#rajas>Rajasthan</a></li>
<li><a href= statesinfo2.html#kerala>Kerala</a></li>
</ul>
</body>
</html>

 statesInfo2.html
<html>
<head><title>Indian States</title>
</head>
<body>
<a name=top></a>
<table align=center border=5 bordercolor=green cellpadding=10 cellspacing=10 rules=rows>
<caption> <font color=orange><h2>Beautiful States of India</h2></font></caption>
<tr>
 <td align=center><font color=red><h3> <u><i>Maharashtra</u></i></h3></font>
<img src="maha.jpg" width=250 height=150 border=2>
<a name=maha></a>
</td>
<td align=left><p align=justify> <font size=5 color=blue>Maharashtra  is a state in the western region of India and is India's second-most populous state and third-largest state by area. Spread over 307,713 km2 (118,809 sq mi), it is bordered by the Arabian Sea to the west and the Indian states of Karnataka, Telangana, Goa, Gujarat, Chhattisgarh, Madhya Pradesh and the Union territory of Dadra and Nagar Haveli. It is also the world's second-most populous subnational entity. It has over 112 million inhabitants and its capital, Mumbai, has a population of approximately 18 million. Nagpur is Maharashtra's second capital as well as its winter capital. Maharashtra is the wealthiest state by all major economic parameters and also the most industrialized state in India. </font>
</p>
</td>
</tr>

<tr>
 <td align=center><font color=red><h3> <u><i>Rajasthan</u></i></h3></font>
<img src="rajas.jpg" width=250 height=150 border=2>
<a name=rajas></a>
</td>
<td align=left><p align=justify> <font size=5 color=blue>Rajasthan literally, "Land of Kings" is India's largest state by area (342,239 square kilometres (132,139 sq mi) or 10.4% of India's total area). It is located on the north western side of the India, where it comprises most of the wide and inhospitable Thar Desert and shares a border with the Pakistani provinces of Punjab to the northwest and Sindh to the west, along the Sutlej-Indus river valley. Major features include the ruins of the Indus Valley Civilisation at Kalibanga; the Dilwara Temples, a Jain pilgrimage site at Rajasthan's only hill station, Mount Abu, in the ancient Aravalli mountain range; and, in eastern Rajasthan, the Keoladeo National Park near Bharatpur, a World Heritage Site known for its bird life. Rajasthan is also home to three national tigerreserves, the Ranthambore National Park in Sawai Madhopur, Sariska Tiger Reserve in Alwar and Mukundra Hill Tiger Reserve in Kota.
 </font>
</p>
</td>
</tr>

<tr>
 <td align=center><font color=red><h3> <u><i>Kerala</u></i></h3></font>
<img src="kerala1.jpg" width=250 height=150 border=2>
<a name=kerala></a>
</td>
<td align=left><p align=justify> <font size=5 color=blue>Kerala, historically known as Keralam, is an Indian state in South India on the Malabar Coast. It was formed on 1 November 1956 following the States Reorganisation Act by combining Malayalam-speaking regions. Spread over 38,863 km2 (15,005 sq mi), it is bordered by Karnataka to the north and northeast, Tamil Nadu to the east and south, and the Lakshadweep Sea to the west. With 33,387,677 inhabitants as per the 2011 Census, Kerala is the thirteenth-largest Indian state by population. It is divided into 14 districts with the capital and the largest city being Thiruvananthapuram. Malayalam is the most widely spoken language and is also the official language of the state.
 </font>
</p>
</td>
</tr>
<tr> <td colspan=2 align=center> <a href=#top>TOP</a>
</td>
</tr>
</table>
</body>
</html>

OUTPUT:

Post a Comment

0 Comments