WT Practical 2F
WT Practical 2F
BATCH : S1
ROLL NO: 1
PROGRAM :
Index.html:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fruit List</title>
</head>
<body>
<h1>Welcome to the Fruit List</h1>
<p>Click on any fruit to view more information and images:</p>
<ul>
<li><a href="apple.html">Apple</a></li>
<li><a href="banana.html">Banana</a></li>
<li><a href="cherry.html">Cherry</a></li>
<li><a href="orange.html">Orange</a></li>
<li><a href="grape.html">Grape</a></li>
</ul>
</body>
</html>
apple.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Apple</title>
</head>
<body>
<h1>Apple</h1>
<img src="apple.jpg" alt="Apple Image" width="300">
<p>Apples are delicious and come in many varieties, such as Fuji, Granny
Smith, and Gala.</p>
<a href="index.html">Back to Fruit List</a>
</body>
</html>
banana.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Banana</title>
</head>
<body>
<h1>Banana</h1>
<img src="banana.jpg" alt="Banana Image" width="300">
<p>Bananas are a great source of potassium and can be eaten raw or used in
smoothies and desserts.</p>
<a href="index.html">Back to Fruit List</a>
</body>
</html>
Cherry.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cherry</title>
</head>
<body>
<h1>Cherry</h1>
<img src="cherry.jpg" alt="Cherry Image" width="300">
<p>Cherries are small, red fruits that are often used in pies, jams, and other
desserts.</p>
<a href="index.html">Back to Fruit List</a>
</body>
</html>
Orange.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Orange</title>
</head>
<body>
<h1>Orange</h1>
<img src="orange.jpg" alt="Orange Image" width="300">
<p>Oranges are a citrus fruit known for their sweet and tangy flavor, commonly
enjoyed as juice.</p>
<a href="index.html">Back to Fruit List</a>
</body>
</html>
Grapes.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Grape</title>
</head>
<body>
<h1>Grape</h1>
<img src="grape.jpg" alt="Grape Image" width="300">
<p>Grapes are small, sweet fruits that can be eaten fresh or used to make wine
and raisins.</p>
<a href="index.html">Back to Fruit List</a>
</body>
</html>
OUTPUT:
• Apple
• Banana
• Cherry
• Orange
• Grape
Apple
Apples are delicious and come in many varieties, such as Fuji, Granny Smith, and
Gala.
Bananas are a great source of potassium and can be eaten raw or used in smoothies
and desserts.
Cherry
Cherries are small, red fruits that are often used in pies, jams, and other desserts.
Oranges are a citrus fruit known for their sweet and tangy flavor, commonly enjoyed
as juice. Back to Fruit List
Grape
Grapes are small, sweet fruits that can be eaten fresh or used to make wine and raisins.