Final Project
Final Project
New Delhi
SUBMITTED BY
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Tags Overview</title>
</head>
<body>
<h1>HTML Tags Overview</h1>
<h2><b> - Bold</h2>
<p>The <b> tag is used to make text bold.</p>
<h2><i> - Italic</h2>
<p>The <i> tag is used to make text italicized.</p>
<h2><u> - Underline</h2>
<p>The <u> tag is used to underline text.</p>
<h2><p> - Paragraph</h2>
<p>The <p> tag is used to define a paragraph of text.</p>
<h2><div> - Division</h2>
<p>The <div> tag is used to define a division or section in an HTML document. It's often
used for styling purposes or to group elements together.</p>
<h2><strike> - Strikethrough</h2>
<p>The <strike> tag is used to draw a horizontal line through text, indicating that it's no
longer accurate or relevant.</p>
<h2><marquee> - Marquee</h2>
<p>The <marquee> tag is used to create a scrolling or moving text or image.</p>
<h2><font> - Font</h2>
<p>The <font> tag is used to specify the font, size, color, and other text properties.</p>
</body>
</html>
OUTPUT:
PRACTICAL-2
WRITE A QUADRATIC EQUATION 𝑎𝑥 2 + 𝑏𝑥 + 𝑐 and H2O formula using Sub, Sup html tag.
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quadratic Equation and H₂O Formula</title>
</head>
<body>
<h1>Quadratic Equation and H₂O Formula</h1>
<h2>Quadratic Equation</h2>
<p>A quadratic equation is typically written in the form:</p>
<p>𝑎𝑥<sup>2</sup> + 𝑏𝑥 + 𝑐</p>
<p>Where:</p>
<ul>
<li>𝑎, 𝑏, and 𝑐 are coefficients,</li>
<li>𝑥 is the variable, and</li>
<li><sup>2</sup> represents the exponent indicating the squared
term.</li>
</ul>
<h2>H<sub>2</sub>O Formula</h2>
<p>The chemical formula for water (H<sub>2</sub>O) consists of:</p>
<ul>
<li>Two atoms of Hydrogen (H), and</li>
<li>One atom of Oxygen (O).</li>
</ul>
<p>Thus, the formula for water is written as H<sub>2</sub>O.</p>
</body>
</html>
OUTPUT:
PRACTICAL-3
DESIGN A WEB PAGE OF YOUR CV WITH HEADINGS AS
OBJECTIVES, EDUCATIONAL QUALIFICATIONS,
ACHIEVEMENTS, STRENGHTS, HOBBIES AND PERSONAL
DETAILS.
INPUT:
<! html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My CV</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
h1, h2 {
color: #333;
}
section {
padding: 20px;
background-color: #fff;
margin: 20px;
border-radius: 5px;
}
ul {
list-style-type: disc;
margin-left: 20px;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px;
position: fixed;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<header>
<h1>Vipul Sharma</h1>
<p>Curriculum vitae</p>
</header>
<section>
<h2>Educational Qualifications</h2>
<ul>
<li>Bachelor of Business Admiration(B&I) -ipu University (2026)</li>
<li>High School Diploma - Suraj bhan D.A.V public school (2023)</li>
</ul>
</section>
<section>
<h2>Strengths</h2>
<ul>
<li>Strong problem-solving skills.</li>
<li>Excellent communication and teamwork abilities.</li>
</ul>
</section>
<section>
<h2>Hobbies</h2>
<p>Reading, hiking, playing guitar.</p>
</section>
<section>
<h2>Personal Details</h2>
<ul>
<li>Date of Birth: January 21, 2005</li>
<li>Address: 29/d b-2 royal complex,royal enclave-1 desu road
mehrauli</li>
<li>Email: [email protected]</li>
<li>Phone: +917011276986</li>
</ul>
</section>
<footer>
<p>© 2024 vipul sharma | All rights reserved</p>
</footer>
</body>
</html>
OUTPUT:
PRACTICAL-4
CREATE A WEB PAGE THAT USES VARIOUS ATTRIBUTES OF
FONT TAG
INPUT:
<! html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Font Tag Attributes</title>
</head>
<body>
</body>
</html>
OUTPUT:
PRACTICAL-5
DESIGN A WEB SITE WITH THE NAME AS HTML TUTORIAL
WITH FOLLOWING SPECIFICATIONS: Make following hyperlinks (i.e., 5 different web pages):
1. Formatting Styles and Headings: Include Bold, italics, Underline, Strike, Subscript,
superscript and all six types of headings
2. Font Styles and Images: Font and Base font tag, Image tag
3. Anchor: Internal (linking within page) and External (linking with other documents)
links
4. Marquee: Move text, image and hyperlink
5. Other tags: br, hr, pre, p
INPUT:
<! html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Tutorial</title>
</head>
<body>
</body>
</html>
OUTPUT:
PRACTICAL-6
CREATE A PROGRAM USING ORDERED AND UNORDERED
LISTS With the hyperlinks- Fruits, Vegetables, Newspaper and Magazines and create ordered and
unordered lists with price and image
of each list item.
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shopping List</title>
</head>
<body>
<h1>Shopping List</h1>
</body>
</html>
PRACTICAL-7
CREATE A TABLE – Seminar Schedule
INPUT:
<html>
<head> <title> <b> Seminar Schedule </b> </title> </head>
<body> <table border="1">
<caption> Seminar Schedule </caption>
<tr> <th rowspan ="3" bgcolor ="silver"> Day </th>
<th colspan = "3", bgcolor ="RED"> Seminar </th> </tr>
<tr> <th colspan = "2", bgcolor ="silver" > Schedule </th>
<th rowspan ="2", bgcolor ="silver" > Topic </th>
</tr>
<tr> <td align="center"> Begin </td>
<td align ="center"> End </td> </tr>
<tr> <th rowspan ="2", bgcolor="RED"> Monday </th>
<td> 8:00 am </td>
<td> 11:00 am </td>
<th> OS </th> </tr>
<tr> <td> 11:30 am </td>
<td> 1:00 pm </td>
<th> Digital Marketing </th> </tr>
<tr> <th rowspan ="2" bgcolor="RED"> Tuesday </th>
<td> 8:00 am </td>
<td> 11:00 am </td>
<th> python </td> </tr>
<tr> <td> 11:30 am </td>
<td> 1:00 pm </td>
<th> cyber security </th> </tr>
<tr> <th colspan ="4"> Lunch Break </th></tr>
<tr> <th bgcolor="RED"> Tuesday </th>
<td> 2:00 pm </td>
<td> 4:00 pm </td>
<th> Data communications </th> </tr>
<tr> <th rowspan="2" bgcolor="RED"> Wednesday </th>
<td> 9:00 am </td>
<td> 11:00 am </td>
<th> AI/ML </th> </tr>
<tr> <th colspan = "3"> 11:00- onwards Valedictory Session </th> </tr>
</table>
</html>
OUTPUT:
PRACTICAL-8
CREATE CLASS TIME TABLE
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Class Timetable</title>
<style>
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid black;
padding: 8px;
text-align: center;
}
th {
background-color: #f2f2f2;
}
</style>
</head>
<body>
<h2>Class Timetable</h2>
<table>
<tr>
<th>Time</th>
<th>Monday</th>
<th>Tuesday</th>
<th>Wednesday</th>
<th>Thursday</th>
<th>Friday</th>
</tr>
<tr>
<td>12:00 - 1:00</td>
<td>Bm</td>
<td>Bm</td>
<td>Bm</td>
<td>Bm</td>
<td>Be</td>
</tr>
<tr>
<td>1:00 - 2:00</td>
<td>CA</td>
<td>Be</td>
<td>Ec</td>
<td>BE</td>
<td>POI</td>
</tr>
<tr>
<td>2:00 - 2:30</td>
<td>LUNCH</td>
<td>LUCH</td>
<td>LUNCH</td>
<td>LUNCH</td>
<td>LUCH</td>
</tr>
<tr>
<td>2:30 - 3:30</td>
<td>POI</td>
<td>EC</td>
<td>BE</td>
<td>POI</td>
<td>CA</td>
</tr>
<tr>
<td>3:30 - 4:30</td>
<td></td>
<td>CA</td>
<td>CA</td>
<td>ECOM(LAB)</td>
<td>EC</td>
</tr>
</table>
</body>
</html>
OUTPUT:
PRACTICAL-9
WRITE AN HTML CODE TO DISPLAY SYLLABUS OF BBA. CLICKING ON EACH LINK
SHOULD OPEN THE DESCRIPTION
OF THE SUBJECT.
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BBA Syllabus</title>
</head>
<body>
<h2>BBA Syllabus</h2>
<div id="subject2">
<h3>Cost Accounting</h3>
<p>This course introduces students to the fundamentals of cost accounting,
including recording transactions, preparing financial statements, analyzing
financial data, and interpreting financial results.</p>
</div>
<div id="subject3">
<h3>Business Enviourment</h3>
<p>This course focuses on developing Economics skills in a business
context, including written communication, oral communication, presentation
skills, and interpersonal communication.</p>
</div>
<div id="subject4">
<h3>Principles of insurance</h3>
<p>This course examines the role of principle of insurance .</p>
</div>
<div id="subject5">
<h3>E-commerce</h3>
<p>This course covers the knowledge of e-commerce platform.</p>
</div>
</body>
</html>
OUTPUT:
PRACTICAL-10
CREATE AN HTML DOCUMENT USING BASE TAG, ALL ATTRIBUTES OF TARGET TAG
AND INSERT AN IMAGE LINK
IN THE SAME.
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Document with Base Tag</title>
<base href="https://example.com/" target="_blank" />
</head>
<body>
</a>
</body>
</html>
OUTPUT:
PRACTICAL-11
Create a HTML webpage using Nested Tables which display the
following list.
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nested Tables Example</title>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
padding: 8px;
}
</style>
</head>
<body>
<table>
<tr>
<th>Main Category</th>
<th>Sub Category</th>
<th>Description</th>
</tr>
<tr>
<td rowspan="3">Category 1</td>
<td>Subcategory 1.1</td>
<td>Description for Subcategory 1.1</td>
</tr>
<tr>
<td>Subcategory 1.2</td>
<td>Description for Subcategory 1.2</td>
</tr>
<tr>
<td>Subcategory 1.3</td>
<td>Description for Subcategory 1.3</td>
</tr>
<tr>
<td rowspan="2">Category 2</td>
<td>Subcategory 2.1</td>
<td>Description for Subcategory 2.1</td>
</tr>
<tr>
<td>Subcategory 2.2</td>
<td>Description for Subcategory 2.2</td>
</tr>
</table>
</body>
</html>
OUTPUT:
PRACTICAL-12
CREATE TARGET ATTRIBUTE (Self, Blank, Top & Parent) Using Hyperlink
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Target Attribute Example</title>
</head>
<body>
<!-- Top (Opens in the linked document in the full body of the window) -->
<a href="https://www.example.com" target="_top">Open in Full Window
(Top)</a><br>
<!-- Parent (Opens in the linked document in the parent frame) -->
<a href="https://www.example.com" target="_parent">Open in Parent Frame
(Parent)</a><br>
</body>
</html>
OUTPUT:
PRACTICAL-13
Create a descriptive list of Mobile Store named- HP World
1. Create descriptive list of mobile phones with price and specifications including image
2. Create descriptive list of pen drive, hard disk with price and image
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HP World - Mobile Store</title>
</head>
<body>
</body>
</html>
OUTPUT:
PRACTICAL-14
Create a document using I frame tag in HTML.
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IFrame Example</title>
</head>
<body>
<h1>IFrame Example</h1>
</body>
</html>
OUTPUT:
PRACTICAL-15
Create a frame showing three sections
Section 1- Any Website link
Section 2- Any Image link
Section 3- Any Video using link
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Frame Example</title>
</head>
<body>
<h1>Frame Example</h1>
</body>
</html>
OUTPUT:
PRACTICAL-16
Create a student registration form in HTML
INPUT:
<!html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Registration Form</title>
</head>
<body>
<label for="email">Email:</label><br>
<input type="email" id="email" name="email" required><br><br>
<label for="phone">Phone:</label><br>
<input type="tel" id="phone" name="phone" pattern="[0-9]{10}"
required><br><br>
<label for="gender">Gender:</label><br>
<input type="radio" id="male" name="gender" value="male" required>
<label for="male">Male</label>
<input type="radio" id="female" name="gender" value="female" required>
<label for="female">Female</label>
<input type="radio" id="other" name="gender" value="other" required>
<label for="other">Other</label><br><br>
<label for="address">Address:</label><br>
<textarea id="address" name="address" rows="4" cols="50"
required></textarea><br><br>
</body>
</html>
OUTPUT: