PRACTICAL12
PRACTICAL12
AIM:
PROGRAM:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
margin: 0;
padding: 0;
background-color: #f4f4f9;
color: #333;
.navbar {
background-color: #3b5998;
overflow: hidden;
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
.navbar a {
display: block;
color: #f4f4f9;
text-align: center;
text-decoration: none;
font-weight: bold;
.navbar a:hover {
background-color: #2b3d69;
.section {
text-align: center;
margin-top: 60px;
.section img {
max-width: 100%;
height: auto;
border-radius: 15px;
.section h1 {
color: #3b5998;
font-size: 36px;
margin-bottom: 20px;
.section p {
font-size: 18px;
line-height: 1.8;
max-width: 800px;
color: #555;
.btn {
display: inline-block;
background-color: #bed638;
color: #fff;
text-decoration: none;
font-size: 18px;
border-radius: 25px;
transition: background-color 0.3s ease;
.btn:hover {
background-color: #a5c82b;
.content-section {
display: flex;
justify-content: space-around;
align-items: center;
background-color: #fff;
.content-section img {
max-width: 400px;
border-radius: 10px;
.content-section div {
max-width: 500px;
text-align: left;
.content-section h2 {
font-size: 28px;
color: #3b5998;
margin-bottom: 20px;
}
.content-section p {
font-size: 18px;
color: #666;
line-height: 1.7;
footer {
background-color: #282828;
color: #f4f4f9;
text-align: center;
margin-top: 40px;
footer .footer-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 25px;
footer h3 {
margin-bottom: 20px;
font-size: 28px;
color: #bed638;
footer p {
font-size: 16px;
max-width: 800px;
text-align: center;
line-height: 1.6;
.contact-info {
font-size: 18px;
margin-top: 30px;
iframe {
width: 100%;
max-width: 600px;
height: 300px;
border: none;
margin-top: 20px;
</style>
</head>
<body>
<h2>RCAS2023BIT025</h2>
<div class="navbar">
<a href="services.html">Services</a>
<a href="home.html">Home</a>
</div>
<h2>RCAS2023BIT007</h2></centre>
<div class="section">
<p>Explore a world of premium services and high-quality products. We are committed to delivering
exceptional experiences tailored to your needs.</p>
<br><br>
</div>
<div class="content-section">
<div>
<h2>Our Services</h2>
<p>We offer a wide range of services including custom solutions, professional consulting, and
product delivery. Our team is dedicated to providing the highest level of quality in everything we do.
Whether you’re looking for a personalized experience or ready-to-go products, we’ve got you
covered.</p>
</div>
<footer>
<div class="footer-content">
<h3>About Us</h3>
<p>We are passionate about creating experiences that leave a lasting impact. Our mission is
to offer products and services that enhance your life and make your journey unforgettable.</p>
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3151.8354345095563!2d144.963
0579159044!3d-37.81410797975171!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x6ad642
af0f11fd81%3A0xf0727c2d8aa93e0b!2sFederation%20Square!5e0!3m2!1sen!2sau!4v1634613557643!5
m2!1sen!2sau"
allowfullscreen=""
loading="lazy">
</iframe>
<div class="contact-info">
<p><strong>Contact Us:</strong></p>
<p>Email: [email protected]</p>
<p>Phone: +123-456-7890</p>
</div>
</div>
</footer>
</body>
</html>
EX NO:2
DATE:
CALENDER
AIM:
PROGRAM:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Simple Calendar</title>
<style>
table {
margin: 0 auto;
border-collapse: collapse;
th, td {
padding: 10px;
text-align: center;
th {
background-color: #f2f2f2;
}
caption {
margin-bottom: 10px;
font-size: 25px;
font-weight: bold;
.sunday{
color: #ff0000;
</style>
</head>
<body>
<center>
<h2>SUGATHI<br>RCAS2023BIT025</h2></center>
<table>
<caption>October 2024</caption>
<thead>
<tr>
<th class="sunday">Sunday</th>
<th>Monday</th>
<th>Tuesday</th>
<th>Wednesday</th>
<th>Thursday</th>
<th>Friday</th>
<th>Saturday</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
</tr>
<tr>
<td class="sunday">6</td>
<td>7</td>
<td>8</td>
<td>9</td>
<td>10</td>
<td>11</td>
<td>12</td>
</tr>
<tr>
<td class="sunday">13</td>
<td>14</td>
<td>15</td>
<td>16</td>
<td>17</td>
<td>18</td>
<td>19</td>
</tr>
<tr>
<td class="sunday">20</td>
<td>21</td>
<td>22</td>
<td>23</td>
<td>24</td>
<td>25</td>
<td>26</td>
</tr>
<tr>
<td class="sunday">27</td>
<td>28</td>
<td>29</td>
<td>30</td>
<td>31</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</body></html>
EX NO:3
DATE:
LIST OF FIVE FLOWERS
AIM:
To Create a HTML document to display a list of five flowers and link each oneto another
document displaying brief description of the flower, Add picture wherever possible.
PROGRAM:
<!DOCTYPE html>
<html>
<head>
<title>flowers</title>
</head>
<body>
<ol>
<li><a href="Hydrangea.html">Hydrangea</a></li>
<li><a href="Boganvilla.html">boganvilla</a></li>
</ol>
</body>
</html>
GHOST ORCHID
<!DOCTYPE html>
<html>
<head>
<title>ghost orchid</title>
</head>
<body>
<h2>SUGATHI.A</h2>
<h2>RCAS2023BIT025</h2>
<p><h3>GHOST ORCHID</h3></p>
<p><h2>GHOST ORCHID</h2></p>
<p> the ghost orchid is a rare perennial<br> epiphyte from the orchid family.<br>
It is native to Florida, the Bahamas, and Cuba.<br> Other common names include palm
polly<br> and white frog orchid.</p>
</body>
</html>
FLAME LILY
<!DOCTYPE html>
<html>
<head>
<title>Flame lily</title>
</head>
<body>
<h2>SUGATHI.A</h2>
<h2>RCAS2023BIT025</h2>
<p><h2>FLAME lily</h2></p>
<p>Gloriosa is a genus of 12 species in the plant family Colchicaceae, <br>and includes the
formerly recognised genus Littonia.<br> They are native in tropical and southern Africa to Asia,<br> and
naturalised in Australia and the Pacific <br>as well as being widely cultivated</p>
</body>
</html>
HYDRANGEA
<!DOCTYPE html>
<html>
<head> `
<title>Hydrangea</title>
</head>
<body>
<h2>SUGATHI.A</h2>
<h2>RCAS2023BIT025</h2>
<p><h2>Hydrangea</h2></p>
<img src="C:\Users\santh\OneDrive\Desktop\hydrangea.jpeg">
<p><h2>BENIFITS OF HYDRANGEA</h2></p>
<p>You know summer is here when big, showy hydrangea bushes<br> begin gracing gardens
across the country. This perennial,<br> a native of East Asia and the Americas, <br>comprises more than
75 species and 600 cultivated varieties, <br>of which mophead, lacecap, oakleaf, and peegee are the
most common.<br> Some hydrangea flowers can turn a pretty<br> pink or blue depending on the
acidity or alkalinity of the soil, while others will remain white. Mopheads, lacecaps<br>, and oakleafs
bloom on the previous year's wood and can be pruned in the summer after flowering; peegees<br>
bloom on this year's wood and can be pruned in the late winter, before the new spring growth.</p>
</body>
</html>
JADE VINE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<h2>SUGATHI.A</h2>
<h2>RCAS2023BIT025</h2>
<p><h2>jade vine</h2></p>
<p>Strongylodon macrobotrys, commonly known as the jade vine, emerald vine, <br>or
turquoise jade vine, is a leguminous vine endemic to the Philippines.<br> It is a popular ornamental
plant known for its cascading clusters <br>of vibrant turquoise or greenish-blue claw-shaped
flowers.</p>
</body>
</html>
BOGANVILLA
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<h2>SUGATHI.A</h2>
<h2>RCAS2023BIT025</h2>
<p><h2>Boganvilla</h2></p>
<img src="C:\Users\santh\OneDrive\Desktop\Boganvilla.jpeg">
<p><h2>BENIFITS OF BOGANVILLA</h2></p>
<p>boganvilla are one of the most popular flower types and are best known for<br> their dazzling
yellow color and large size. They generally<br> symbolize adoration, loyalty, and longevity in the
language of flowers.<br> Native Americans view boganvilla as a symbol <br>of harvest and bounty since
the flower provides seeds and pigments,<br> in addition to being visually beautiful.<br> boganvilla need
direct sunlight for six to eight hours per day and <br>require hot conditions to flower well. boganvilla
<br>also have long roots that require plenty of room to spread out, so soil should be well dug and not
too dense for growth.</p>
</body>
</html>
EX NO:4
DATE:
FRAME SET
AIM:
To Write an HTML code to display a list of 5 carsin a frame, Link each one to a brief description
in second frame. The left frame should display the list and the right frame should display the
paragraph about the frame.
PROGRAM:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
#carList {
width: 30%;
float: left;
#carDisplay, #carDisplay2 {
width: 35%;
float: left;
text-align: center;
iframe {
border: 1px solid #ccc;
width: 500px;
height: 500px;
iframe img {
width: 10px;
height: 5px;
</style>
<script>
document.getElementById('carFrame').src = imageUrl;
document.getElementById('carFramedes').src = descriptionUrl;
</script>
</head>
<body>
<h2>SUGATHI.A</h2>
<h2>RCAS2023BITO25</h2>
<div id="carList">
<h2>Car List</h2>
<ul>
<li><a href="#"
onclick="displayCar('toyota.jpg', 'toyota-des.html')">Toyota</a></li>
<li><a href="#" onclick="displayCar('mustang.jpg',
'mustang- des.html')">Ford Mustang</a></li>
</ul>
</div>
<div id="carDisplay">
<h2>Car Image</h2>
</div>
<div id="carDisplay2">
<h2>Car Description</h2>
</div>
</body>
</html>
TOYOTA
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Toyota Camry</title>
</head>
<body>
<h2> SUGATHI.A</h2>
<h2>RCAS2023BIT025</h2>
<h1>Toyota Camry</h1>
<p>The Toyota Camry is a mid-size sedan known for its reliability, <br>comfort, and fuel efficiency. It's a
popular choice for daily commuting and family travel.</p>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit.<br> Doloremque vero deserunt vitae
qui ullam laudantium sequi<br> autem sapiente asperiores! Vel quasi fuga ipsa pariatur, tempore,
exercitati</p>
</body>
</html>
MUSTANG
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<h2>SUGATHI.A</h2>
<h2>RCAS2023BIT025</h2>
<h3>Ford Mustang</h3>
<p>The Ford Mustang is a mid-size sedan known for its reliability,<BR> comfort, and racing. It's a
popular choice for daily commuting </p>
<p>Lorem, ipsum dolor sit amet consectetur elit.<BR> Doloremque vero deserunt vitae qui ullam
laudantium sequi <br>autem sapiente asperiores! Vel quasi fuga ipsa pariatur, tempore, exercitati</p>
</body>
</html>
BMW
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>BMW</title>
</head>
<body>
<h2>SUGATHI.A</h2>
<h2>RCAS2023BITO25</h2>
<h3>bmw-i8</h3>
<img src="C:\Users\santh\OneDrive\Desktop\BMW.jpeg">
<p>The BMW is a mid-size sedan known for its reliability,<BR> comfort, and fuel efficiency. It's a
popular choice <br>sfor daily commuting and family travel.</p>
</body>
</html>
AUDI
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Audi</title>
</head>
<body>
<h2>SUGATHI.A</h2>
<h2>RCAS2023BIT025</h2>
<h3>Audi R8</h3>
<p>The Audi R8is a mid-size sedan known for its reliability, <br>comfort, and fuel
efficiency.<br> It's a popular choice for daily commuting and family travel.</p>
</body>
</html>
CHEVROLET
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Chevrolet Corvette</title>
</head>
<body>
<h2>SUGATHI.A</h2>
<h2>RCAS2023BIT025</h2>
<h3>Chevrolet Corvette</h3>
<p>The Chevrolet Corvette is a mid-size sedan known for its reliability, <br>comfort, and
fuel efficiency.<br> It's a popular choice for daily commuting and family travel.</p>
</body>
</html>
EX NO:5
DATE:
FORM
AIM:
PROGRAM:
<!DOCTYPE html>
<html>
<head>
<title>SUGA</title>
<style>
.bg{
color:white;
background-color:black;
</style>
</head>
<body>
<h2> SUGATHI</h2>
<h2> RCAS2023BIT025</h2>
<form>
<center>
<div class="bg">
<lable>username</lable>
<lable>password</lable>
<input type="password"><br></br>
<lable>email</lable>
<lable>phone.no</lable>
<lable>age</age>
<input type="number"><br></br>
<label>gender</label>
<input type="radio"name="radio">
<label>Male</label>
<input type="radio"name="radio">
<label>Female</label><br></br>
<p id="demo"></p>
<label>singing</label>
<label>reading</label>
<label>choose a department</label>
<select>
<option value="gg"></option>
<option value="dd">CSE</option>
<option value="ss">EEE</option>
<option value="cc">IT</option>
</select><br></br>
<label>file</label>
<input type="file"><br></br>
<label>address</label>
<textarea>
</textarea>
<p id="demo"></p>
<p id="hi"></p>
</div>
</center>
</form>
</body>
</html>
EX NO :6
DATE:
EMBED MEDIA
AIM:
PROGRAM:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<h2>Audio Example</h2>
<audio controls>
</audio>
<h2>Video Example</h2>
<iframe width="560" height="315"
src="https://www.youtube.com/embed/73QmOb3L0fU?si=1SVOnDl5YOWqJnBx" title="YouTube video
player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media;
gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen></iframe>
</body>
</html>
EX NO:7
DATE:
CSS
AIM:
PROGRAM:
<!DOCTYPE html>
<html>
<head>
<title>Rotate Element</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
.rotate-box:hover {
h1 {
color: #333;
text-align: center;
</style>
</head>
<body>
</div>
</body>
</html>
EX NO: 8
DATE:
SIMPLE QUIZ
AIM:
PROGRAM:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Simple Quiz</title>
<style>
body {
background-color: #f4f4f4;
padding: 20px;
.quiz-container {
background: white;
padding: 20px;
border-radius: 5px;
button {
margin-top: 20px;
background-color: #28a745;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
button:hover {
background-color: #218838;
</style>
</head>
<body>
<H2>SUGATHI.A</H2>
<H2> RCAS2023BIT025</H2>
<div class="quiz-container">
<h1>Simple Quiz</h1>
<form id="quizForm">
<div>
<div>
</div>
<div>
</div>
</form>
</div>
<script>
function submitQuiz() {
const answers = {
q1: 'a',
q2: 'b',
q3: 'b'
};
let score = 0;
score++;
</script>
</body>
</html>