0% found this document useful (0 votes)
21 views27 pages

Web Technology Lab Manual

The document outlines a Web Technology Lab curriculum for the academic year 2024-25, detailing various experiments related to HTML, CSS, and JavaScript. It includes tasks such as designing web pages, creating a class timetable, and developing a student registration form, along with multimedia integration. Each experiment is accompanied by example HTML code and descriptions of the intended outcomes.

Uploaded by

brainhacker7sb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views27 pages

Web Technology Lab Manual

The document outlines a Web Technology Lab curriculum for the academic year 2024-25, detailing various experiments related to HTML, CSS, and JavaScript. It includes tasks such as designing web pages, creating a class timetable, and developing a student registration form, along with multimedia integration. Each experiment is accompanied by example HTML code and descriptions of the intended outcomes.

Uploaded by

brainhacker7sb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

Web Technology Lab 2024-25

Table of Contents
Expt. No. Experiment Name Signature
Part – A
1 Design web pages for your college containing college name and
Logo, departments list using href, list tags.
2 Create a class timetable using table tag.
3 Write a HTML code to design Student registrations form for your
college Admission
4 Design Web Pages with includes Multi-Media data (Image, Audio,
Video, GIFs etc)
5 Create a web page using frame.
6 Write code in HTML to develop a webpage having two frames that
divide the webpage into two equal rows and then divide the row
into equal columns fill each frame with a different background
color.
7 Write CSS code to Use Inline CSS to format your ID Card.
8 Using HTML, CSS create display a text called ―Hello India !‖ on
top of an image of India- Map using an overlay.
Part – B
1 JavaScript Program to perform Basic Arithmetic operations.
2 JavaScript Program to implement all string operations.
3 JavaScript Program to Check Prime Number.
4 JavaScript Program to implement Java script Object Concept
5 JavaScript Program to Create Array and insert Data into Array
6 JavaScript Program to Validate an Email Address.
7 Create a form for Student information. Write JavaScript code to find
Total, Average, Result and Grade.
8 Write a program for implementing XML document for Employee Details

Dept. of Computer Science, GFGC Hukkeri 1


Web Technology Lab 2024-25

PART A
Expt. No. 1.
Design web pages for your college containing college name and Logo, departments list using href, list
tags.

college.html

<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>College Webpage</title>
</head>
<body>
<h1>My College Name</h1>
<img src="collegelogo.png" alt="College Logo" width="100">
<h2>Departments</h2>
<ul>
<li><a href="bsc.html">BSc</a></li>
<li><a href="bcom.html">BCom</a></li>
<li><a href="ba.html">BA</a></li>
<li><a href="bba.html">BAA</a></li>
</ul>
</body>
</html>

bsc.html
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>BSc Department</title>
</head>
<body>
<h1>BSc Department</h1>
<p>The BSc program offers a strong foundation in science and research.</p>
<p>Students can specialize in various scientific fields like Physics, Chemistry, and
Biology.</p>
<a href=" college.html">Back to Home</a>
</body>
</html>

bcom.html
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>BCom Department</title>
</head>
<body>
Dept. of Computer Science, GFGC Hukkeri 2
Web Technology Lab 2024-25

<h1>BCom Department</h1>
<p>The BCom program focuses on commerce, finance, and business management.</p>
<p>It prepares students for careers in accounting, banking, and corporate sectors.</p>
<a href="college.html">Back to Home</a>
</body>
</html>

ba.html
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>BA Department</title>
</head>
<body>
<h1>BA Department</h1>
<p>The BA program covers arts, humanities, and social sciences.</p>
<p>It helps students develop critical thinking and analytical skills.</p>
<a href="collge.html">Back to Home</a>
</body>
</html>

Output:

Expt. No. 2.
Create a class timetable using table tag.

Dept. of Computer Science, GFGC Hukkeri 3


Web Technology Lab 2024-25

classtimetable.html

<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title> Department of BSc</title>
</head>
<body>
<h1>BSc Department - Class Timetable</h1>
<table border="1">
<caption><strong>BSc Class Timetable</strong></caption>
<tr>
<th>Day</th>
<th>10:00 - 11:00</th>
<th>11:00 - 12:00</th>
<th>12:00 - 1:00</th>
<th>1:00 - 1:30</th>
<th>1:30 - 4:30</th>
</tr>
<tr>
<td>Monday</td>
<td>Web Technology</td>
<td>R Programming</td>
<td>Physics 1</td>
<td>Break</td>
<td>Web Technology Lab</td>
</tr>
<tr>
<td>Tuesday</td>
<td>Physics 2</td>
<td>Maths 1</td>
<td>Maths 2</td>
<td>Break</td>
<td>R Programming Lab</td>
</tr>
<tr>
<td>Wednesday</td>
<td>R Programming</td>
<td>Maths 2</td>
<td>Physics 2</td>
<td>Break</td>
<td>Physics 1 Lab</td>
</tr>
<tr>
<td>Thursday</td>
<td>Web Technology</td>
<td>Physics 1</td>
<td>Maths 1</td>
<td>Break</td>
<td>Physics 2 Lab</td>
</tr>
<tr>

Dept. of Computer Science, GFGC Hukkeri 4


Web Technology Lab 2024-25

<td>Friday</td>
<td>Maths 1</td>
<td>Maths 2</td>
<td>Physics 2</td>
<td>Break</td>
<td>Maths Lab</td>
</tr>
</table>
</body>
</html>

Output:

Dept. of Computer Science, GFGC Hukkeri 5


Web Technology Lab 2024-25

Expt. No. 3.
Write a HTML code to design Student registrations form for your college Admission.

Studentsregpage.html

<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Student Registration Form</title>
</head>
<body>
<h1>College Admission - Student Registration Form</h1>
<form action="submit_registration.php" method="post">
<label >Full Name:</label>
<input type="text" id="name" name="name" required><br><br>

<label >Date of Birth:</label>


<input type="date" id="dob" name="dob" required><br><br>

<label >Email:</label>
<input type="email" id="email" name="email" required><br><br>

<label >Phone Number:</label>


<input type="tel" id="phone" name="phone" required><br><br>

<label >Select Course:</label>


<select id="course" name="course" required>
<option value="bsc">BSc</option>
<option value="bcom">BCom</option>
<option value="ba">BA</option>
<option value="bba">BBA</option>
</select><br><br>

<label >Address:</label><br>
<textarea id="address" name="address" rows="4" cols="40" required></textarea><br><br>

<label >Gender:</label>
<input type="radio" id="male" name="gender" value="male" required> Male
<input type="radio" id="female" name="gender" value="female" required> Female

<br> <br>
<label >Hobbies:</label><br>
<input type="checkbox" id="reading" name="hobbies" value="reading"> Reading
<input type="checkbox" id="sports" name="hobbies" value="sports"> Sports
<input type="checkbox" id="music" name="hobbies" value="music"> Music

<input type="submit" value="Register">


<input type="reset" value="Reset">
</form>
</body>
</html>
Output:
Dept. of Computer Science, GFGC Hukkeri 6
Web Technology Lab 2024-25

Dept. of Computer Science, GFGC Hukkeri 7


Web Technology Lab 2024-25

Expt. No. 4.
Design Web Pages include multi-Media data (Image, Audio, Video, GIFs etc).

<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>College Multimedia Page</title>
</head>
<body>
<h1>Welcome to Our College Multimedia Page</h1>
<p>Explore the multimedia content related to our college.</p>

<h2>College Image</h2>
<img src="college.jpg" alt="College Image" width="600">

<h2>Promotional Video</h2>
<video width="600" controls>
<source src="video.mp4" type="video/mp4">
</video>

<h2>College Theme Song</h2>


<audio controls>
<source src="song.mp3" type="audio/mpeg">
</audio>

<h2>Animated College GIF</h2>


<img src="animation.gif" alt="College GIF" width="600">
</body>
</html>

Dept. of Computer Science, GFGC Hukkeri 8


Web Technology Lab 2024-25

Output:

multimediapage.html

Dept. of Computer Science, GFGC Hukkeri 9


Web Technology Lab 2024-25

Expt. No. 5.
Create a web page using frame.

frame.html

<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<title>College Webpage with Frames</title>
</head>
<frameset cols="20%, 80%">
<frame src="menu.html" name="menuFrame">
<frame src="content.html" name="contentFrame">
</frameset>
</html>

menu.html
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html>
<head>
<title>Menu</title>
</head>
<body>
<h2>Departments</h2>
<ul>
<li><a href="content.html#bsc" target="contentFrame">BSc</a></li>
<li><a href="content.html#bcom" target="contentFrame">BCom</a></li>
<li><a href="content.html#ba" target="contentFrame">BA</a></li>
<li><a href="content.html#bba" target="contentFrame">BBA</a></li>
</ul>
</body>
</html>

content.html
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html>
<head>
<title>Menu</title>
</head>
<body>
<h2>Departments</h2>
<ul>
<li><a href="content.html#bsc" target="contentFrame">BSc</a></li>
<li><a href="content.html#bcom" target="contentFrame">BCom</a></li>
<li><a href="content.html#ba" target="contentFrame">BA</a></li>
<li><a href="content.html#bba" target="contentFrame">BBA</a></li>
</ul>
</body>
</html>
Output:
Dept. of Computer Science, GFGC Hukkeri 10
Web Technology Lab 2024-25

Dept. of Computer Science, GFGC Hukkeri 11


Web Technology Lab 2024-25

Expt. No. 6.
Write code in HTML to develop a webpage having two frames that divide the webpage into two equal
rows and then divide the row into equal columns fill each frame with a different background color.

farme.html

<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<title>Webpage with Frames</title>
</head>
<frameset rows="50%,50%">
<frameset cols="50%,50%">
<frame src="frame1.html" name="frame1">
<frame src="frame2.html" name="frame2">
</frameset>
<frameset cols="50%,50%">
<frame src="frame3.html" name="frame3">
<frame src="frame4.html" name="frame4">
</frameset>
</frameset>
</html>

farme1.html

<!DOCTYPE html>
<html>
<head>
<title>Frame 1</title>
</head>
<body style="background-color: lightblue;">
<h2>Frame 1 Content</h2>
</body>
</html>

farme2.html

<!DOCTYPE html>
<html>
<head>
<title>Frame 2</title>
</head>
<body style="background-color: lightgreen;">
<h2>Frame 2 Content</h2>
</body>
</html>

farme3.html

<!DOCTYPE html>
<html>
<head>
Dept. of Computer Science, GFGC Hukkeri 12
Web Technology Lab 2024-25

<title>Frame 3</title>
</head>
<body style="background-color: lightcoral;">
<h2>Frame 3 Content</h2>
</body>
</html>

farme4.html

<!DOCTYPE html>
<html>
<head>
<title>Frame 4</title>
</head>
<body style="background-color: lightgoldenrodyellow;">
<h2>Frame 4 Content</h2>
</body>
</html>

Output:

Expt. No. 7.

Dept. of Computer Science, GFGC Hukkeri 13


Web Technology Lab 2024-25

Write CSS code to Use Inline CSS to format your ID Card.

<?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<title>ID Card</title>
</head>
<body>
<div style="width: 300px; border: 2px solid black; padding: 20px; text-align: center; font-
family: Arial, sans-serif;">
<h2 style="color: navy;">Student ID Card</h2>
<img src="photo.jpg" alt="Student Photo" style="width: 100px; height: 100px; border-
radius: 50%;">
<p><strong>Name:</strong> Mahesh Huddar</p>
<p><strong>ID:</strong> 123456</p>
<p><strong>Course:</strong> BSc Computer Science</p>
<p><strong>College:</strong> XYZ College</p>
</div>
</body>
</html>

Output:

Dept. of Computer Science, GFGC Hukkeri 14


Web Technology Lab 2024-25

Expt. No. 8.
Using HTML, CSS create display a text called ―Hello India ! on top of an image of India - Map using
an overlay.

<!DOCTYPE html>
<html>
<head>
<title>Text Overlay on India Map</title>
<style>
.container {
position: absolute;
width: 500px;
}
.text {
position: absolute;
top: 30px;
left: 50%;
color: white;
background: rgba(0, 0, 0, 0.5);
padding: 10px;
}
</style>
</head>
<body>
<div class="container">
<img src="india-map.jpg" alt="India Map" width="100%">
<h1 class="text">Hello India!</h1>
</div>
</body>
</html>

Dept. of Computer Science, GFGC Hukkeri 15


Web Technology Lab 2024-25

Output:

Dept. of Computer Science, GFGC Hukkeri 16


Web Technology Lab 2024-25

PART B
Expt. No. 1.
JavaScript Program to perform Basic Arithmetic operations.

Basicarithmetic.html

<!DOCTYPE html>
<html>
<head>
<title>Arithmetic Operations</title>
<script>
function calculate(operation) {
let num1 = parseFloat(document.getElementById("num1").value);
let num2 = parseFloat(document.getElementById("num2").value);
let result;

switch (operation) {
case 'add': result = num1 + num2; break;
case 'subtract': result = num1 - num2; break;
case 'multiply': result = num1 * num2; break;
case 'divide': result = num2 !== 0 ? num1 / num2 : "Cannot divide by zero"; break;
}
document.getElementById("result").innerText = "Result: " + result;
}
</script>
</head>
<body>
<h2>Basic Arithmetic Operations</h2>
<input type="number" id="num1" placeholder="Enter first number">
<input type="number" id="num2" placeholder="Enter second number">
<br><br>
<button onclick="calculate('add')">Add</button>
<button onclick="calculate('subtract')">Subtract</button>
<button onclick="calculate('multiply')">Multiply</button>
<button onclick="calculate('divide')">Divide</button>
<h3 id="result">Result: </h3>
</body>
</html>

Output:

Dept. of Computer Science, GFGC Hukkeri 17


Web Technology Lab 2024-25

Expt. No. 2.
JavaScript Program to implement all string operations.

stringoperations.html

<!DOCTYPE html>
<html>
<head>
<title>String Operations</title>
<script>
function performStringOperation(operation) {
let str1 = document.getElementById("str1").value;
let str2 = document.getElementById("str2").value;
let result;

switch (operation) {
case 'concatenate': result = str1 + str2; break;
case 'uppercase': result = str1.toUpperCase(); break;
case 'lowercase': result = str1.toLowerCase(); break;
case 'length': result = "Length of first string: " + str1.length; break;
case 'reverse': result = str1.split('').reverse().join(''); break;
}
document.getElementById("result").innerText = "Result: " + result;
}
</script>
</head>
<body>
<h2>String Operations</h2>
<input type="text" id="str1" placeholder="Enter first string">
<input type="text" id="str2" placeholder="Enter second string (optional)">
<br><br>
<button onclick="performStringOperation('concatenate')">Concatenate</button>
<button onclick="performStringOperation('uppercase')">To Uppercase</button>
<button onclick="performStringOperation('lowercase')">To Lowercase</button>
<button onclick="performStringOperation('length')">String Length</button>
<button onclick="performStringOperation('reverse')">Reverse String</button>
<h3 id="result">Result: </h3>
</body>
</html>

Output:

Dept. of Computer Science, GFGC Hukkeri 18


Web Technology Lab 2024-25

Expt. No. 3.
JavaScript Program to Check Prime Number.

prime.html

<!DOCTYPE html>
<html>
<head>
<title>Prime Number Check</title>
<script>
function isPrime() {
let num = parseInt(document.getElementById("num").value);
if (num < 2) {
document.getElementById("result").innerText = num + " is not a prime number";
return;
}
for (let i = 2; i <= Math.sqrt(num); i++) {
if (num % i === 0) {
document.getElementById("result").innerText = num + " is not a prime number";
return;
}
}
document.getElementById("result").innerText = num + " is a prime number";
}
</script>
</head>
<body>
<h2>Check Prime Number</h2>
<input type="number" id="num" placeholder="Enter a number">
<button onclick="isPrime()">Check</button>
<h3 id="result">Result: </h3>
</body>
</html>

Output:

Expt. No. 4.
Dept. of Computer Science, GFGC Hukkeri 19
Web Technology Lab 2024-25

JavaScript Program to implement Java script Object Concept.

object.html

<!DOCTYPE html>
<html>
<head>
<title>JavaScript Object Concept</title>
<script>
class Student {
constructor(name, age, course) {
this.name = name;
this.age = age;
this.course = course;
}

getDetails() {
return `Name: ${this.name}, Age: ${this.age}, Course: ${this.course}`;
}
}

function displayStudent() {
let name = document.getElementById("name").value;
let age = document.getElementById("age").value;
let course = document.getElementById("course").value;

let student = new Student(name, age, course);


document.getElementById("result").innerText = student.getDetails();
}
</script>
</head>
<body>
<h2>JavaScript Object Example</h2>
<label>Name:</label>
<input type="text" id="name" placeholder="Enter name">
<br>
<label>Age:</label>
<input type="number" id="age" placeholder="Enter age">
<br>
<label>Course:</label>
<input type="text" id="course" placeholder="Enter course">
<br><br>
<button onclick="displayStudent()">Display Student Details</button>
<h3 id="result">Result: </h3>
</body>
</html>

Dept. of Computer Science, GFGC Hukkeri 20


Web Technology Lab 2024-25

Output:

Dept. of Computer Science, GFGC Hukkeri 21


Web Technology Lab 2024-25

Expt. No. 5.
JavaScript Program to Create Array and insert Data into Array.

array.html

<!DOCTYPE html>
<html>
<head>
<title>Simple Name List</title>
<script>
let names = [];

function addName() {
let name = document.getElementById("name").value;
if (name) {
names.push(name);
document.getElementById("name").value = "";
showNames();
}
}

function showNames() {
let list = "";
for (let i = 0; i < names.length; i++) {
list += (i + 1) + ". " + names[i] + "\n";
}
document.getElementById("output").innerText = “Array is:\n” + list;
}
</script>
</head>
<body>
<h3>Add Name</h3>
<input type="text" id="name">
<button onclick="addName()">Add</button>
<pre id="output">Array is:</pre>
</body>
</html>

Dept. of Computer Science, GFGC Hukkeri 22


Web Technology Lab 2024-25

Output:

Dept. of Computer Science, GFGC Hukkeri 23


Web Technology Lab 2024-25

Expt. No. 6.
JavaScript Program to Validate an Email Address.

email.html

<!DOCTYPE html>
<html>
<head>
<title>Email Validation</title>
<script>
function validateEmail() {
let email = document.getElementById("email").value;
let pattern = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;

if (pattern.test(email)) {
document.getElementById("result").innerText = "Valid Email Address";
} else {
document.getElementById("result").innerText = "Invalid Email Address";
}
}
</script>
</head>
<body>
<h2>Email Validation</h2>
<label>Email:</label>
<input type="text" id="email" placeholder="Enter email">
<br><br>
<button onclick="validateEmail()">Validate</button>
<h3 id="result">Result: </h3>
</body>
</html>

Output:

Dept. of Computer Science, GFGC Hukkeri 24


Web Technology Lab 2024-25

Expt. No. 7.
Create a form for Student information. Write JavaScript code to find Total, Average, Result and Grade.

student.html

<!DOCTYPE html>
<html>
<head>
<title>Student Information</title>
<script>
function calculateResults() {
let name = document.getElementById("name").value;
let rollNo = document.getElementById("rollNo").value;
let marks = [];
let total = 0;

for (let i = 1; i <= 3; i++) {


let mark = parseFloat(document.getElementById("subject" + i).value);
marks.push(mark);
total += mark;
}

let average = total / marks.length;


let grade, result;

if (average >= 90) grade = "A+";


else if (average >= 80) grade = "A";
else if (average >= 70) grade = "B";
else if (average >= 60) grade = "C";
else if (average >= 50) grade = "D";
else grade = "F";

result = (grade === "F") ? "Fail" : "Pass";

document.getElementById("total").innerText = "Total: " + total;


document.getElementById("average").innerText = "Average: " + average.toFixed(2);
document.getElementById("grade").innerText = "Grade: " + grade;
document.getElementById("result").innerText = "Result: " + result;
}
</script>
</head>
<body>
<h2>Student Information</h2>
<label>Name:</label>
<input type="text" id="name" placeholder="Enter Name">
<br>
<label>Roll No:</label>
<input type="text" id="rollNo" placeholder="Enter Roll No">
<br>
<label>Subject 1 Marks:</label>
<input type="number" id="subject1" placeholder="Enter Marks">
<br>
<label>Subject 2 Marks:</label>
<input type="number" id="subject2" placeholder="Enter Marks">
Dept. of Computer Science, GFGC Hukkeri 25
Web Technology Lab 2024-25

<br>
<label>Subject 3 Marks:</label>
<input type="number" id="subject3" placeholder="Enter Marks">
<br><br>
<button onclick="calculateResults()">Calculate</button>
<h3 id="total">Total: </h3>
<h3 id="average">Average: </h3>
<h3 id="grade">Grade: </h3>
<h3 id="result">Result: </h3>
</body>
</html>

Output:

Dept. of Computer Science, GFGC Hukkeri 26


Web Technology Lab 2024-25

Expt. No. 8.
Write a program for implementing XML document for Employee Details.

employee.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE employees SYSTEM "employees.dtd">
<employees>
<employee>
<id>101</id>
<name>John Doe</name>
<department>IT</department>
<designation>Software Engineer</designation>
<salary>60000</salary>
</employee>
<employee>
<id>102</id>
<name>Jane Smith</name>
<department>HR</department>
<designation>HR Manager</designation>
<salary>75000</salary>
</employee>
<employee>
<id>103</id>
<name>Mike Johnson</name>
<department>Finance</department>
<designation>Accountant</designation>
<salary>50000</salary>
</employee>
</employees>

Output:

Dept. of Computer Science, GFGC Hukkeri 27

You might also like