New File 1 - Removed
New File 1 - Removed
New File 1 - Removed
:- 1
Object:- Write Html program for designing your Bio data .Display your information on
the web browser.
<html>
<head>
<title>BIODATA</title>
</head>
<marquee>
<body bgcolor="cyan"><font color="black"><font size=30>Biodata</font>
</marquee>
<hr>
<body><font size=5><font color="blue">
<img src="C:\Users\ITM.DESKTOP-VJA8Q12\Pictures\Screenshots\Screenshot 2024-11-12
101219.png" align="right" height=200 width=200 1px>
Name:HARSHIT SINGH<br>
Father's name:SANTOSH SINGH<br>
Mothers's name:ANURADHA DEVI<br>
DOB:06/11/2003<br>
Address:GORAKHPUR<br>
Mobile no:8299654513<br>
Religion:Hindu<br>
Nationality:Indian<br>
Gender:Male<br>
Qualification:B.TECH<br>
<table style="width:50%"border=3>
<tr>
<th>semester</th>
<th>grade</th>
<th>cpga %</th>
</tr>
<tr>
<th>1</th>
<th>S</th>
<th>80%</th>
</tr>
<tr>
<th>2</th>
<th>A</th>
<th>78 %</th>
</tr>
</body>
</html>
1
OUTPUT:-
2
Experiment No.:- 2
Object:- Write HTML Program to design a Login Form for using CSS.
<html>
<head>
<title>Login Page</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/5.15.3/css/all.min.css">
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
font-family: Arial, sans-serif;
margin: 0;
}
.login-container {
background: rgba(0, 0, 0, 0.5);
padding: 40px;
border-radius: 10px;
text-align: center;
color: white;
width: 300px;
}
.login-container .avatar {
margin-bottom: 20px;
}
.login-container .avatar i {
font-size: 50px;
}
.login-container .input-group {
margin-bottom: 20px;
position: relative;
}
.login-container .input-group input {
width: 100%;
padding: 10px;
padding-left: 40px;
border: none;
border-radius: 5px;
background: rgba(255, 255, 255, 0.1);
5
color: white;
font-size: 16px;
}
.login-container .input-group i {
position: absolute;
top: 50%;
left: 10px;
transform: translateY(-50%);
color: white;
}
.login-container .login-btn {
background: #ff007f;
border: none;
padding: 10px;
width: 100%;
border-radius: 5px;
color: white;
font-size: 16px;
cursor: pointer;
}
.login-container .options {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 20px;
}
.login-container .options input {
margin-right: 5px;
}
.login-container .options a {
color: white;
text-decoration: none;
}
</style>
</head>
<body>
<div class="login-container">
<div class="avatar">
<i class="fas fa-user-circle"></i>
</div>
<div class="input-group">
<i class="fas fa-user"></i>
<input type="text" placeholder="USERNAME">
</div>
<div class="input-group">
<i class="fas fa-lock"></i>
6
<input type="password" placeholder="********">
</div>
<button class="login-btn">LOGIN</button>
<div class="options">
<label>
<input type="checkbox"> Remember me
</label>
<a href="#">Forgot your password?</a>
</div>
</div>
</body>
</html>
OUTPUT
7
Experiment No.:- 3
Object:- Write HTML program to design an entity form for student details/employee
information using DIVS, Table tags and CSS.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Entry Form</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 20px;
}
.form-container {
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 10px;
border: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
}
input[type="text"], input[type="email"], input[type="number"] {
width: 100%;
padding: 8px;
box-sizing: border-box;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
padding: 10px 15px;
1
0
border: none;
border-radius: 5px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="form-container">
<h2>Student/Employee Entry Form</h2>
<form action="#" method="post">
<table>
<tr>
<th>Field</th>
<th>Input</th>
</tr>
<tr>
<td>First Name</td>
<td><input type="text" name="first_name" required></td>
</tr>
<tr>
<td>Last Name</td>
<td><input type="text" name="last_name" required></td>
</tr>
<tr>
<td>Email</td>
<td><input type="email" name="email" required></td>
</tr>
<tr>
<td>Phone Number</td>
<td><input type="text" name="phone" required></td>
</tr>
<tr>
<td>Age</td>
<td><input type="number" name="age" required></td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="Submit">
</td>
</tr>
</table>
</form>
</div>
1
1
Web Technology Lab
Output:-
11
Web Technology Lab
Experiment No.:- 4
Object:- Write a Program in XML in creation of DTD ,which specifies set of rules .Create
a style sheet in CSS/XML and display the document on the web browser.
12
Web Technology Lab
bookstore {
display: block;
font-family: Arial, sans-serif;
max-width: 600px;
margin: auto;
background-color: #f8f9fa;
padding: 20px;
border: 1px solid #ddd;
border-radius: 8px;
}
book {
display: block;
border: 1px solid #ccc;
padding: 15px;
margin: 10px 0;
background-color: #ffffff;
border-radius: 5px;
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}
title {
display: block;
font-weight: bold;
font-size: 1.3em;
color: #333;
margin-bottom: 5px;
}
author {
display: block;
font-style: italic;
color: #555;
margin-bottom: 5px;
}
price {
display: block;
font-size: 1.1em;
color: #008000;
margin-bottom: 5px;
13
Web Technology Lab
year {
display: block;
font-size: 0.9em;
color: #999;
}
book:hover {
border-color: #007bff;
box-shadow: 2px 2px 12px rgba(0, 123, 255, 0.3);
}
book title {
color: #007bff;
}
bookstore::before {
content: "Bookstore Collection";
display: block;
font-size: 1.5em;
font-weight: bold;
color: #333;
text-align: center;
margin-bottom: 20px;
}
Output:-
14