Shwet IWT
Shwet IWT
Acropolis Institute of
Technology and
Research, Indore Department of CSE
Submitted To: Prof. Sumit Jain
(Artificial Intelligence & Machine
Learning)
Submitted By:
Shwet Pardhi
Enrollment No. : 0827AL211039
Class/Year/Sem : ALML/4th/ 7th
CERTIFICATE
This is to certify that the experimental work entered in this journal as per
the B. TECH. IV year syllabus prescribed by the RGPV was done by Mr.
Shwet Pardhi B.TECH IV year VII semester in the Internet and Web
2025.
This course is intended to teach the basics involved in publishing content on the World Wide Web.
This includes the ‘language of the Web’ – HTML, the fundamentals of how the Internet and the
Web function, a basic understanding of graphic production with a specific stress on creatinggraphics
for the Web, and a general grounding introduction to more advanced topics such asprogramming
and scripting. This will also expose students to the basic tools and applications used inWeb publishing.
In this lab, students will be able to learn and practice design and implement static and dynamic
website. Students can expand their skill set by learning how to design and implement dynamic
websites with good aesthetic sense of designing and latest technical know-how's. The aim of this Lab
is to provide you the conceptual and technological developments in the field of Internet andweb
designing with the emphasis on comprehensive knowledge of Internet and Web development
technologies like HTML, XML, CSS, PHP, XHTML, Java Script and Database. The World Wide
Web with its widespread usefulness has become an integral part of the Internet. Therefore, this course
also puts emphasis on basic concepts of web design.
❖ GENERAL INSTRUCTIONS FOR LABORATORY CLASSES
➢ DO’S
✓ While entering into the LAB students should wear their ID cards.
✓ Students should sign in the LOGIN REGISTER before entering into the
laboratory.
✓ Students should come with observation and record note book to the laboratory.
✓ After completing the laboratory exercise, make sure to shutdown the system
properly.
➢ DONT’S
Module1: Introduction: Concept of WWW, Internet and WWW, HTTP Protocol: Request and
Response, Web browser and Web servers, Features of Web 2.0 Web Design: Concepts of effective
web design, Web design issues including Browser, Bandwidth and Cache, Display resolution, Look
and Feel of the Website, Page Layout and linking, User centric design, Sitemap, Planning and
publishing website, Designing effective navigation.
Module2: HTML: Basics of HTML, formatting and fonts, commenting code, color, hyperlink, lists,
tables, images, forms, XHTML, Meta tags, Character entities, frames and frame sets, Browser
architecture and Web site structure. Overview and features of HTML5
Module3: Control Style sheets : Need for CSS, introduction to CSS, basic syntax and structure, using
CSS, background images, colors and properties, manipulating texts, using fonts, borders and boxes,
margins, padding lists, positioning using CSS, CSS2, Overview and features ofCSS3JavaScript :
Client side scripting with JavaScript, variables, functions, conditions, loops and repetition, Pop up
boxes, Advance JavaScript: Java script and objects, JavaScript own objects, the DOM and web
browser environments, Manipulation using DOM, forms and validations, DHTML : Combining
HTML, CSS and JavaScript, Events and buttons.
Module4: Introduction to XML, uses of XML, simple XML, XML key components, DTD and
Schemas, Using XML with application. Transforming XML using XSL and XSLT PHP: Introduction
and basic syntax of PHP, decision and looping with examples, PHP and HTML, Arrays, Functions,
Browser control and detection, string, Form processing, Files, Advance Features: Cookies and
Sessions, Object Oriented Programming with PHP.
Module5: Modules PHP and My SQL: Basic commands with PHP examples, Connection to server,
creating database, selecting a database, listing database, listing table names, creating a table,inserting
data, altering tables, queries, deleting database, deleting data and tables, PHP my admin and database
bugs.
HARDWARE AND SOFTWARE REQUIREMENTS:
RATIONALE:
The purpose of this subject is to cover the concepts of Web Technologies in terms of Theory and
Implementation .The syllabus provides all the essential concepts of Web Technologies.
➢ Course Objectives
1. To comprehend the basics of the internet and web terminologies.
2. To introduce scripting language concepts for developing client-side applications.
3. To practice server-side programming features – PHP, JSP.
4. To build dynamic web pages with validation using Java Script objects and by applying
different event handling mechanisms.
5. To develop modern interactive web applications using PHP, XML and MySQL.
➢ Course Outcomes
At the end of the course student will be able to:
1. Understand Web design and concepts of Web design.
2. Analyze a web page and identify its elements and attributes.
3. Create web pages using XHTML and Cascading Style Sheets.
4. Build dynamic web pages using Java Script (Client-side programming).
5. Create XML documents and Schemas.
Index
Date of Page Date of Grade &
S.No Exp. Name of the Experiment No. Submission Sign of the
Faculty
1 Create a table in HTML to the following details
9-10
4 16-17
Write a Java Script program by using variables.
5 18-20
Write a java script program on Form Validations.
Additional remarks
<h1>Book List</h1>
<table border="1">
<tr>
<th>Book Name</th>
<th>Author</th>
</tr>
<tr>
<td>Operating System</td>
<td>Godbole</td>
</tr>
<tr>
<td>Data Communication and Network</td>
<td>Godbole</td>
</tr>
<tr>
<td>Computer Network</td>
<td>Rajkumar</td>
</tr>
<tr>
<td>OOPs</td>
<td>R.Nageswara Rao</td>
</tr>
</table>
</body>
</html>
4. Tabulation Sheet: NA
5. Result:
Page 10
Acropolis Institute of Technology and Research, Indore
Department of CSE (Artificial Intelligence & Machine Learning)
Lab: Internet and Web Group / Title: Application Form
Technology (AL703D)
EVALUATION RECORD Type/ Lab Session: Regular
Name Shwet Pardhi Enrollment No. 0827AL211039
Performing on First submission Second submission
Extra Regular
Additional remarks
Page 11
• The action attribute of the <form> tag specifies the URL where the
form data will be sent.
• The method attribute defines how the data is sent, typically using
methods like "GET" or "POST."
• Form elements have various types and attributes to control input
validation, appearance, and behavior.
• Program:
<!DOCTYPE html>
<html>
<head>
<title>Job Application Form</title>
<style>
/* Add your CSS styling here */
.form-section {
margin-bottom: 20px;
}
</style>
</head>
<body>
<h1>Job Application Form</h1>
<form action="process_application.php" method="post">
<!-- Section One -->
<div class="form-section">
<h2>Section One</h2>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required><br>
<label for="age">Age:</label>
<input type="text" id="age" name="age" required><br>
<label>Gender:</label><br>
<input type="radio" id="male" name="gender" value="Male">
<label for="male">Male</label>
<input type="radio" id="female" name="gender" value="Female">
<label for="female">Female</label>
<input type="radio" id="other" name="gender" value="Other">
<label for="other">Other</label><br>
<label for="high_school">High School:</label>
<input type="text" id="high_school" name="high_school" required><br>
<label for="qualifications">Qualifications:</label>
<textarea id="qualifications" name="qualifications" rows="4"
Page 12
cols="50"></textarea><br>
Page 13
</div>
<!-- Section Two -->
<div class="form-section">
<h2>Section Two</h2>
<label for="previous_employment">Previous Employment:</label>
<textarea id="previous_employment" name="previous_employment"
rows="4" cols="50"></textarea><br>
<label for="references">References:</label>
<textarea id="references" name="references" rows="4"
cols="50"></textarea><br>
<label for="qualification">Qualification:</label>
<input type="text" id="qualification" name="qualification"><br>
</div>
<input type="submit" value="Submit">
</form>
</body>
</html>
4. Tabulation Sheet: NA
5. Result:
Page 14
Acropolis Institute of Technology and Research, Indore
Department of CSE (Artificial Intelligence & Machine Learning)
Lab: Internet and Web Group / Title: Web Page
Technology (AL703D)
EVALUATION RECORD Type/ Lab Session: Regular
Name Shwet Pardhi Enrollment No. 0827AL211039
Performing on First submission Second submission
Extra Regular
Additional remarks
1. Title: Create a web page multiple types of style sheet used in a single page.
2. Neatly Drawn and labeled experimental setup : NA
3. Theoretical solution of the instant problem
a. Algorithm:
• A web page is a document on the World Wide Web that can contain text, images, links,
and interactive elements. It's typically written in HTML and can be viewed in a web
browser.
• A style sheet (or stylesheet) is a set of rules that define the visual appearance and layout
of elements on a web page. It is often written in CSS (Cascading Style Sheets) and
helps control the design, colors, fonts, and positioning of page content.
• Web pages structure content and provide information, while style sheets enhance their
presentation by controlling design and aesthetics.
• Combining HTML for content and CSS for styling creates a visually appealing and
well-structured web page.
b. Program:
Page 15
<!DOCTYPE html>
<html>
<head>
<title>Multiple Style Sheets Example</title>
<link rel="stylesheet" type="text/css" href="style1.css">
<link rel="stylesheet" type="text/css" href="style2.css">
<style>
/* Inline style sheet */
h1 {
color: red;
}
</style>
</head>
<body>
<h1>Multiple Style Sheets Example</h1>
<p>This is an example of how to use multiple types of style sheets in a single web
page.</p>
</body>
</html>
4. Tabulation Sheet: NA
5. Result:
Page 16
Acropolis Institute of Technology and Research, Indore
Department of CSE (Artificial Intelligence & Machine Learning)
Lab: Internet and Web Group / Title: Java Script Program
Technology (AL703D)
EVALUATION RECORD Type/ Lab Session: Regular
Name Shwet Pardhi Enrollment No. 0827AL211039
Performing on First submission Second submission
Extra Regular
Additional remarks
Page 17
if (operation === "+") {
result = num1 + num2;
} else if (operation === "-") {
result = num1 - num2;
} else if (operation === "*") {
result = num1 * num2;
} else if (operation === "/") {
if (num2 !== 0) {
result = num1 / num2;
} else {
result = "Division by zero is not allowed.";
}
} else {
result = "Invalid operation";
}
console.log("Result: " + result);
c. Tabulation Sheet
INPUT OUTPUT
Enter the first number: 5 10
Enter an operation (+, -, *, /):"): *
Enter the second number: 2
d. Result:
Page 18
Acropolis Institute of Technology and Research, Indore
Department of CSE (Artificial Intelligence & Machine Learning)
Lab: Internet and Web Group / Title: Java Script Form
Technology (AL703D)
EVALUATION RECORD Type/ Lab Session: Regular
Name Shwet Pardhi Enrollment No. 0827AL211039
Performing on First submission Second submission
Extra Regular
Page 19
b. Program
<!DOCTYPE html>
<html>
<head>
<title>Form Validation Example</title>
<script>
function validateForm() {
var name = document.forms["myForm"]["name"].value;
var email = document.forms["myForm"]["email"].value;
var password = document.forms["myForm"]["password"].value;
if (name == "") {
alert("Name must be filled out");
return false;
}
if (email == "") {
alert("Email must be filled out");
return false;
} else {
// Simple email validation using a regular expression
var emailPattern = /^\w+@[a-zA-Z_]+\.[a-zA-Z]{2,3}$/;
if (!email.match(emailPattern)) {
alert("Invalid email address");
return false;
}
}
if (password == "") {
alert("Password must be filled out");
return false;
} else {
// Password should be at least 6 characters long
if (password.length < 6) {
alert("Password should be at least 6 characters long");
return false;
}
}
return true;
}
</script>
Page 1
</head>
<body>
<h2>Form Validation Example</h2>
<form name="myForm" onsubmit="return validateForm()" method="post">
Name: <input type="text" name="name"><br><br>
Email: <input type="text" name="email"><br><br>
Password: <input type="password" name="password"><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
4. Tabulation Sheet : NA
5. Result:
Page 20
Acropolis Institute of Technology and Research, Indore
Department of CSE (Artificial Intelligence & Machine Learning)
Lab: Internet and Web Group / Title: XML Document
Technology (AL703D)
EVALUATION RECORD Type/ Lab Session: Regular
Name Arya Sohan Enrollment No. 0827AL211039
Performing on First submission Second submission
Extra Regular
Page 21
b. Program
<examination_result>
<student>
<roll_number>STUDENT_ROLL_NUMBER</roll_number>
<name>STUDENT_NAME</name>
<subjects>
<subject>
<name>SUBJECT_1_NAME</name>
<marks>SUBJECT_1_MARKS</marks>
</subject>
<subject>
<name>SUBJECT_2_NAME</name>
<marks>SUBJECT_2_MARKS</marks>
</subject>
<subject>
<name>SUBJECT_3_NAME</name>
<marks>SUBJECT_3_MARKS</marks>
</subject>
</subjects>
<total_marks>TOTAL_MARKS</total_marks>
<percentage>PERCENTAGE</percentage>
<result>RESULT</result>
</student>
</examination_result>
4. Tabulation Sheet : NA
5. Result:
Page 22
Acropolis Institute of Technology and Research, Indore
Department of CSE (Artificial Intelligence & Machine Learning)
Lab: Internet and Web Group / Title: Calculator
Technology (AL703D)
EVALUATION RECORD Type/ Lab Session: Regular
Name Shwet Pardhi Enrollment No. 0827AL211039
Performing on First submission Second submission
Extra Regular
Page 23
<link rel="stylesheet" type="text/css" href="calculator.css">
</head>
<body>
<div class="calculator">
<input type="text" id="display" readonly>
<div class="buttons">
<button class="number" onclick="appendToDisplay('7')">7</button>
<button class="number" onclick="appendToDisplay('8')">8</button>
<button class="number" onclick="appendToDisplay('9')">9</button>
<button class="operator" onclick="appendToDisplay('+')">+</button>
<button class="number" onclick="appendToDisplay('4')">4</button>
<button class="number" onclick="appendToDisplay('5')">5</button>
<button class="number" onclick="appendToDisplay('6')">6</button>
<button class="operator" onclick="appendToDisplay('-')">-</button>
<button class="number" onclick="appendToDisplay('1')">1</button>
<button class="number" onclick="appendToDisplay('2')">2</button>
<button class="number" onclick="appendToDisplay('3')">3</button>
<button class="operator" onclick="appendToDisplay('*')">*</button>
<button class="clear" onclick="clearDisplay()">C</button>
<button class="number" onclick="appendToDisplay('0')">0</button>
<button class="equals" onclick="calculateResult()">=</button>
<button class="operator" onclick="appendToDisplay('/')">/</button>
</div>
</div>
<script src="calculator.js"></script>
</body>
</html>
Calculator.css :
.calculator {
width: 300px;
margin: 0 auto;
text-align: center;
padding: 10px;
border: 2px solid #ccc;
border-radius: 10px;
}
#display {
width: 100%;
font-size: 24px;
padding: 10px;
margin: 5px;
Page 24
text-align: right;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 5px;
}
button {
font-size: 18px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #eee;
}
.number, .operator, .clear, .equals {
background-color: #f4f4f4;
}
.clear, .equals {
background-color: #f27c7c;
color: #fff;
}
4. Tabulation Sheet : NA
5. Result:
Page 25
Acropolis Institute of Technology and Research, Indore
Department of CSE (Artificial Intelligence & Machine Learning)
Lab: Internet and Web Group / Title: Web Page (College)
Technology (AL703D)
EVALUATION RECORD Type/ Lab Session: Regular
Name Shwet Pardhi Enrollment No. 0827AL211039
Performing on First submission Second submission
Extra Regular
Page 26
}
#image-container {
margin-top: 50px;
}
#college-link {
text-decoration: none;
color: #0077b6; /* Link color */
}
</style>
</head>
<body>
<h1>Welcome to My Web Page</h1>
<div id="image-container">
<a href="https://aitr.ac.in/" id="college-link">
<img src="https://aiper.ac.in/wp-content/uploads/2023/03/AITR-
logo.jpg" alt="Clickable Image" width="300" height="200">
</a>
</div>
<p>Click the image to visit my college's website.</p>
</body>
</html>
4. Tabulation Sheet : NA
5. Result
Page 27
Acropolis Institute of Technology and Research, Indore
Department of CSE (Artificial Intelligence & Machine Learning)
Lab: Internet and Web Group / Title: Resume
Technology (AL703D)
EVALUATION RECORD Type/ Lab Session: Regular
Name Shwet Pardhi Enrollment No. 0827AL211039
Performing on First submission Second submission
Extra Regular
1. Title: Prepare a "resume.html" that might include such information as: a) distinguishing
marks b) special interests c) work history d) education and training e) job objective f)
relevant skills and experience
2. Neatly Drawn and labeled experimental setup : NA
3. Theoretical solution of the instant problem
a. Algorithm:
• Creating a resume in HTML means using HTML tags to structure content,
such as headings, paragraphs, lists, and tables, while including hyperlinks
for contact information and links to online profiles. You can style it using
CSS for better visual presentation. After creating and saving the HTML file,
you can share it online or convert it to PDF for traditional distribution.
b. Program:
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
Page 28
}
h1 {
color: #333;
}
h2 {
color: #555;
}
.section {
margin-bottom: 20px;
}
</style>
</head>
<body>
<header>
<h1>Anuj Kumar Suhane</h1>
<p>Distinguishing Marks: Birth mark near left ear</p>
<p>Special Interests: Movies, Series, Travelling</p>
</header>
<section class="section">
<h2>Work History</h2>
<p><strong>Project Intern</strong> - IIT Indore, Indore Madhya
Pradesh | May 2023 - Aug 2023</p>
<ul>
<li>Developed and maintained web applications using Python, Flask,
HTML & CSS.</li>
<li>Collaborated with cross-functional teams to deliver projects on
time.</li>
<li>Improved the company's website.</li>
</ul>
</section>
<section class="section">
<h2>Education and Training</h2>
<p><strong>Bachelor of Science in Computer Science(AIML)</strong>
- Acropolis institute of Technology and Research, Indore, Madhya
Pradesh</p>
<p><strong>AWS Cloud Practitioner </strong> - Amazon Web Services
| April 2023</p>
</section>
<section class="section">
<h2>Job Objective</h2>
<p>Seeking a challenging software development position that allows me
to leverage my technical skills and contribute to innovative projects.</p>
Page 29
</section>
<section class="section">
<h2>Relevant Skills and Experience</h2>
<ul>
<li>Programming Languages: Python, C++, Javascript</li>
<li>Web Development: HTML, CSS, React, Flask, Django</li>
<li>Version Control: GitHub</li>
<li>Problem Solving and Analytical Skills</li>
<li>Team Collaboration and Communication</li>
</ul>
</section>
</body>
</html>
6. Tabulation Sheet : NA
7. Result:
Page 30
Acropolis Institute of Technology and Research, Indore
Department of CSE (Artificial Intelligence & Machine Learning)
Lab: Internet and Web Group / Title: Simple Interest Calculator
Technology (AL703D)
EVALUATION RECORD Type/ Lab Session: Regular
Name Shwet Pardhi Enrollment No. 0827AL211039
Performing on First submission Second submission
Extra Regular
Page 31
<label for="rate">Rate of Interest (%):</label>
<input type="text" id="rate" placeholder="Enter Rate of
Interest"><br><br>
<label for="duration">Duration (in years):</label>
<input type="text" id="duration" placeholder="Enter Duration in
Years"><br><br
<button onclick="calculateSimpleInterest()">Calculate</button>
<script>
function calculateSimpleInterest() {
var principal =
parseFloat(document.getElementById("principal").value);
var rate = parseFloat(document.getElementById("rate").value);
var duration =
parseFloat(document.getElementById("duration").value);
if (isNaN(principal) || isNaN(rate) || isNaN(duration)) {
alert("Please enter valid numbers for all fields.");
} else {
var simpleInterest = (principal * rate * duration) / 100;
alert("Simple Interest: $" + simpleInterest.toFixed(2));
}
}
</script>
</body>
</html>
4. Tabulation Sheet
INPUT OUTPUT
Principal Amount:400 32
Rate of Interest (%):2
Duration (in years):4
5. Results
Page 32