Reeti HTML Project
Reeti HTML Project
Theory:-
An online bookstore website typically consists of several core pages that allow users to
browse, register, log in, and purchase books. Thehomepageoftheonlinebookstorecanbe
designed with a layout consisting of three frames: the top frame, the left frame,andthe
right frame.Thisthree-framelayoutofferseasynavigationandadynamicuserexperience.
Here’s a detailed explanation of the design and how each component functions:
Thetop frameserves as the header for the website,and its purpose is to provide essential
navigation options for the user. This section typically includes:
● Logo: An image that represents the website or thebrand, usually placed at the top left
of the page.
● Website Name: The name of the website, typically displayednext to the logo or
beneath it.
● Navigation Links: Links that allow users to navigateto different pages on the
website. These links can include:
o
Homepage: Clicking this link will bring the user backto the homepage.
o
Login Page: A link to the login page where users canenter their credentials to
access their account.
o
Registration Page: A link to the registration pagewhere new users can create
an account.
Date:- Roll No:- Class:-
o
Catalogue Page: A link to the catalog page where books are organized and
displayed for browsing.
o
Cart Page: A link to the shopping cart page whereusers can view and manage
the items they’ve selected to purchase.
Each of these links in the top frame provides easy access to critical sections of the website,
helping users navigate smoothly between different areas.
Theleft frameis typically used for displaying additionalnavigation options related to
specific categories or features of the website. In the case of an online bookstore, the left
frame might include:
Theright frameis the content area where the maininformation is displayed. Initially, this
frame may contain a welcome message or an introduction to the website. As users click on
links in the left frame, the content in the right frame dynamically changes to match the
selected category or page. For example:
● Homepage Content: If the user clicks on the "Home"link in the top frame, the right
frame will display a welcome message and an overview of what the online bookstore
offers.
● Login Form: When the "Login" link is clicked, a loginform will appear in the right
frame, prompting the user to enter their username and password.
● Registration Form: Similarly, when the "Registration"link is clicked, a registration
form will appear in the right frame.
Date:- Roll No:- Class:-
● Catalogue Listings: If a user clicks on a category like "CSE Books" in the left frame,
the right frame will dynamically load a list of books related to that category, along
with information like book titles, authors, prices, and brief descriptions.
● Cart Page: If the user clicks on the "Cart" link inthe top frame, the right frame will
show the user's shopping cart contents, including a list of books they’ve added to their
cart, along with the total price.
One of the key features of the three-frame design is the ability todynamically load content
into the right frame based on user interactions with the left frame. This helps provide a
seamless experience for the user, as they can easily browse through different book categories,
view their cart, or log in without the need for page reloads. The content in the right frame
changes in real-time based on the user’s selection from the navigation links in the left and top
frames.
● User-Friendly Navigation: With links placed in boththe top and left frames, users
can quickly access various sections of the website without the need to scroll or search
through long pages.
● Seamless Experience: The ability to load content dynamicallyinto the right frame
allows users to explore different pages (e.g., book categories, login, registration, cart)
without refreshing the entire page.
● Clean and Organized: The three-frame layout ensuresthat content is organized and
visually separated, helping users focus on the specific area they are interested in (e.g.,
book categories, cart contents).
In summary, the static homepage with a three-frame layout provides a clean, organized
structure for an online bookstore. It offers users easy access to important sections of the
website and allows for smooth navigation between pages, improving the overall user
experience.
Date:- Roll No:- Class:-
Algorithm
Program:-
Index.html
!DOCTYPE html>
<
<html lang="en">
<head>
Date:- Roll No:- Class:-
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Online Bookstore</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
/* Styling for the Top Frame (Logo and Website Name) */
.top-frame {
background-color: #333;
color: white;
padding: 15px;
text-align: center;
}
.nav-links li {
background-color: #444;
margin: 5px;
padding: 10px;
text-align: center;
}
.nav-links li a {
color: white;
text-decoration: none;
font-size: 18px;
}
.nav-links li a:hover {
background-color: #666;
}
</style>
</head>
<!-- Frameset Structure for Left, Right, and Top Frames -->
<frameset rows="150px, *">
<!-- Top Frame (Logo and Website Info) -->
Date:- Roll No:- Class:-
<!-- Horizontal Split: Left Frame for Navigation, Right Frame for Content -->
<frameset cols="200px, *">
<!-- Left Frame (Navigation) -->
<frame src="nav.html" name="left-frame" scrolling="yes">
<!-- In case the browser doesn't support frames, we display this message -->
<noframes>
<p>Your browser does not support frames. Please upgrade your browser.</p>
</noframes>
</html>
ome.html
H
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Homepage</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
padding: 20px;
}
h2 {
color: #333;
}
p {
font-size: 18px;
}
</style>
</head>
<body>
</ul>
</body>
</html>
About.html
!DOCTYPE html>
<
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
text-align: center;
}
h2 {
color: #333;
}
.nav-links {
list-style-type: none;
padding: 0;
margin: 0;
}
.nav-links td {
background-color: #444;
margin: 5px;
padding: 10px;
text-align: center;
}
.nav-links td a {
color: white;
text-decoration: none;
font-size: 18px;
}
.nav-links td a:hover {
background-color: #666;
}
</style>
</head>
<body>
Nav.html
!DOCTYPE html>
<
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Navigation</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
}
.nav-links {
list-style-type: none;
padding: 0;
margin: 0;
}
.nav-links li {
background-color: #444;
margin: 5px;
padding: 10px;
text-align: center;
}
.nav-links li a {
color: white;
text-decoration: none;
font-size: 18px;
}
.nav-links li a:hover {
background-color: #666;
}
</style>
</head>
<body>
Date:- Roll No:- Class:-
<ul class="nav-links">
<li><a href="CSE.html" target="right-frame">CSE</a></li>
<li><a href="EC.html" target="right-frame">EC</a></li>
<li><a href="EEE.html" target="right-frame">EEE</a></li>
<li><a href="civil.html" target="right-frame">Civil</a></li>
</ul>
/body>
<
</html>
Output:-
Date:- Roll No:- Class:-
Experiment 2:
bjective:Create a login page with fields for usernameand password using HTML. Add
O
basic layout using CSS.
Algorithm :-
o
ptionally, include JavaScript to handle form submission logic (e.g., check if
O
username and password are provided, show error messages).
Program:-
!DOCTYPE html>
<
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Page</title>
<style> body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f9f9f9;
}</style>
</head>
<body>
<div align="center">
<h1>Login Page</h1>
<form action="/login" method="POST">
<label for="username">Username:</label><br>
<input type="text" id="username" name="username" required><br><br>
<label for="password">Password:</label><br>
<input type="password" id="password" name="password" required><br><br>
<button type="submit">Login</button>
<button type="reset">Login</button>
</form>
/div>
<
</body>
</html>
Date:- Roll No:- Class:-
Output:-
Date:- Roll No:- Class:-
Experiment 3:
Objective: CATOLOGUE PAGE: The catalogue page should contain the details of all the books
a vailable in the web site in a table. The details should contain the following:
1. Snap shot of Cover Page.
2. Author Name.
3. Publisher.
4. Price.
5. Add to cart button
1 . S tart
2. Create Catalogue Page Structure:
o Initialize the HTML page with the required structure (e.g.,
<html>,<body>).
3. Display Catalogue Title:
o Display a heading or title at the top of the page, e.g., "Book Catalogue".
4. Create Table/Container for Book Details:
o Create a table or a grid layout to display the books.
o The table should have columns such as:
▪ Cover Page (Snapshot)
▪ dd the selected book to the user’s cart (e.g., store it in session or local
A
storage).
▪ Optionally, update the cart icon to show the number of items in the
cart.
7. Display Pagination (Optional):
o If the catalogue contains a large number of books, display pagination controls
(e.g., "Next", "Previous", page numbers) to allow users to navigate between
pages of books.
8. Filter and Sort Options (Optional):
o Provide filter options for users to narrow down their search (e.g., by author,
publisher, genre, etc.).
o Provide sorting options to sort books by price, author, or rating.
9. Display Catalogue in a Responsive Layout:
o Use CSS to make sure the catalogue is displayed in a grid or table format that
adjusts to different screen sizes (e.g., use a 3-column grid for desktops and a
1-column layout for mobile devices).
10.End
Program:-
.
!DOCTYPE html>
<
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,
initial-scale=1.0">
<title>Book Catalogue</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f9f9f9;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
padding: 10px;
text-align: center;
border: 1px solid #ddd;
}
Date:- Roll No:- Class:-
th {
background-color: #f2f2f2;
}
img {
max-width: 100px;
height: auto;
border-radius: 5px;
}
.add-to-cart {
background-color: #28a745;
color: white;
border: none;
padding: 8px 15px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}
.add-to-cart:hover {
background-color: #218838;
}
</style>
</head>
<body>
<h1>Book Catalogue</h1>
<table>
<thead>
<tr>
<th>Cover Page</th>
<th>Author Name</th>
<th>Publisher</th>
<th>Price</th>
<th>Add to Cart</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="cover1.jpg" alt="Book Cover 1"></td>
<td>Book :XML Bible Author : Winston</td>
<td>Publication : Wiely</td>
<td>$10.99</td>
<td><button class="add-to-cart">Add to Cart</button></td>
</tr>
<tr>
<td><img src="cover2.jpg" alt="Book Cover 2"></td>
<td>Book :AI Author: S. Russel</td>
<td>Publication : Princeton hall</td>
Date:- Roll No:- Class:-
<td>$15.99</td>
<td><button class="add-to-cart">Add to Cart</button></td>
</tr>
<tr>
<td><img src="cover3.jpg" alt="Book Cover 3"></td>
<td>Book : Java 2 Author : Watson</td>
<td>Publication : BPB</td>
<td>$20.99</td>
<td><button class="add-to-cart">Add to Cart</button></td>
</tr>
</tbody>
</table>
</body>
</html>
Output:-
Date:- Roll No:- Class:-
Experiment 4:
Algorithm:-
1 . S tart
2. Create Cart Page Structure:
o Initialize an HTML page with the required structure (e.g.,
<html>,<body>).
3. Display Cart Title:
o Display a title at the top of the page, e.g., "Your Cart".
4. Create Cart Table/Container:
o Initialize a table or container to display the list of books added to the cart.
o The table should have columns such as:
▪ Book Image(Optional)
▪ lear Cart: Allow the user to clear all books fromthe cart.
C
8. Optional: Apply Discount:
o Provide an input field for users to enter a discount code (if applicable) and
apply it to the cart total.
9. Optional: Display Shipping Information:
o Include a section for shipping options and delivery time, or a message that
shipping information will be provided during checkout.
10.End
Program:-
!DOCTYPE html>
<
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Book Catalogue</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f9f9f9;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
padding: 10px;
Date:- Roll No:- Class:-
text-align: center;
border: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
}
img {
max-width: 100px;
height: auto;
border-radius: 5px;
}
.add-to-cart {
background-color: #28a745;
color: white;
border: none;
padding: 8px 15px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}
.add-to-cart:hover {
background-color: #218838;
}
</style>
</head>
<body>
<h1>Book Catalogue</h1>
<table>
<thead>
<tr>
<th>Cover Page</th>
<th>Author Name</th>
<th>Publisher</th>
<th>Price</th>
<th>Add to Cart</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="cover1.jpg" alt="Book Cover 1"></td>
<td>Book :XML Bible Author : Winston</td>
<td>Publication : Wiely</td>
<td>$10.99</td>
<td><button class="add-to-cart">Add to Cart</button></td>
</tr>
<tr>
<td><img src="cover2.jpg" alt="Book Cover 2"></td>
<td>Book :AI Author: S. Russel</td>
<td>Publication : Princeton hall</td>
<td>$15.99</td>
<td><button class="add-to-cart">Add to Cart</button></td>
</tr>
Date:- Roll No:- Class:-
<tr>
<td><img src="cover3.jpg" alt="Book Cover 3"></td>
<td>Book : Java 2 Author : Watson</td>
<td>Publication : BPB</td>
<td>$20.99</td>
<td><button class="add-to-cart">Add to Cart</button></td>
</tr>
</tbody>
</table>
</body>
</html>
Output:-
Date:- Roll No:- Class:-
Experiment 5:
1 . S tart
2. Create a Web Page: Initialize an HTML page structure.
3. Create Form Element:
o Start with a
<form>tag to define the form structure.
4. Name Field:
o Add a text field for the user to input their name using
<input type="text"
.
/>
o Label the field as "Name".
5. Password Field:
o Add a password field using
<input type="password" />.
o Label the field as "Password".
6. E-mail ID Field:
o Add a text field for the user to input their e-mail ID using
<input
type="email" />
.
Date:- Roll No:- Class:-
o
abel the field as "E-mail ID".
L
7. Phone Number Field:
o Add a text field for the phone number using
<input .
type="tel" />
o Label the field as "Phone Number".
8 . Sex Field (Radio Buttons):
o Add radio buttons for the user to select their sex.
▪
<input type="radio" name="sex" value="Male" />forMale
rogram:-
P
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration Form</title>
<style>
body {
font-family: Arial, sans-serif;
Date:- Roll No:- Class:-
background-color: #f4f4f9;
margin: 0;
padding: 20px;
}
h2 {
text-align: center;
color: #333;
}
form {
width: 50%;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
table {
width: 100%;
margin-bottom: 20px;
}
td {
padding: 10px;
text-align: left;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
textarea,
select {
width: 100%;
padding: 8px;
margin: 5px 0;
border: 1px solid #ccc;
border-radius: 4px;
}
textarea {
resize: vertical;
}
Date:- Roll No:- Class:-
input[type="radio"],
input[type="checkbox"] {
margin-right: 5px;
}
.button-container {
text-align: center;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<h2>Registration Form</h2>
</tr>
<option value="1998">1998</option>
<!-- Continue with years -->
</select>
</td>
</tr>
<div class="button-container">
<input type="submit" value="Register">
</div>
</form>
/body>
<
</html>
Output:-
Date:- Roll No:- Class:-
Date:- Roll No:- Class:-
Experiment 6
Objective:
J SVALIDATION:WriteJavaScripttovalidatethefollowingfieldsoftheaboveregistration
page.
1. Name (Name should contains alphabets and the length should not be less than 6
characters).
3 . E-mailid (should not contain any invalid and must follow the standard
pattern(name@domain.com)
Theory: -
JavaScriptformvalidationiscrucialforensuringthatuserinputiscorrectbeforesubmission,
preventing incorrect data from reaching the server. In this case, validating fields such as
Name, Password, Email, and Phone Number ensures that each input adheres to specified
rules. For example, the Name field should only contain alphabets and be at least six
characters long, while the Password should have a minimum length of six characters to
ensuresecurity.TheEmailmustfollowastandardpattern(e.g.,name@domain.com),andthe
Phone Number must contain exactly 10 digits. These validations can be performed using
JavaScript’s built-in functions like test() and regular expressions, providing immediate
feedbacktotheuserandenhancingtheuserexperiencebycatchingerrorsbeforesubmission.
By using JavaScript validation, we ensure data integrity and improve the efficiency of the
registration process.
Algorithm
o
Check if the name contains only alphabetic characters.
o
Ensure the name is at least 6 characters long.
Date:- Roll No:- Class:-
o
Ensure the password length is at least 6 characters.
o
Check if the email matches the standard format: name@domain.com.
o
Ensure the phone number contains exactly 10 digits.
Program
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Registration Form</title>
<style>
body {
background-color: #f4f4f4;
padding: 20px;
}
form {
background-color: #fff;
padding: 20px;
border-radius: 8px;
max-width: 400px;
margin: auto;
}
width: 100%;
padding: 8px;
border-radius: 4px;
}
button {
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
.error {
color: red;
font-size: 12px;
Date:- Roll No:- Class:-
}
</style>
</head>
<body>
<h2>Registration Form</h2>
<label for="name">Name:</label>
<label for="password">Password:</label>
<label for="email">Email:</label>
<button type="submit">Submit</button>
</form>
Date:- Roll No:- Class:-
<script>
function validateForm() {
valid = false;
} else {
nameError.textContent = "";
}
valid = false;
} else {
passwordError.textContent = "";
}
if (!emailPattern.test(email)) {
valid = false;
} else {
emailError.textContent = "";
}
if (!phonePattern.test(phone)) {
valid = false;
} else {
phoneError.textContent = "";
}
}
</script>
</body>
</html>
Date:- Roll No:- Class:-
Output:-
Date:- Roll No:- Class:-
Experiment No:-7
Objective:CSS: Design a web page using CSS(CascadingStyle Sheets) which includes the
following:
1) Use different font, styles:
In the style definition you define how each selector should work(font, color etc.). Then, in the
body of your pages, you refer to these selectors to activate the styles.
2) Set a background image for both the page and single elements on the page.
Theory: -
CSS(CascadingStyleSheets)isastylesheetlanguageusedtodefinethelookandfeelofweb
pages. It allows developers to createreusablestyledefinitionsforfonts,colors,andlayouts
byassigningspecificpropertiestoselectorssuchasbody,h1,or.class-name.Thesestylescan
be applied globally or to individual elementstoachieveaconsistentandvisuallyappealing
design.Additionally,CSSenablestheuseofbackgroundimagesforboththeentirepageand
individual elements, allowing for creative customization with properties like
background-image, background-size, and background-position.
lgorithm: -
A
Step 1: Define the HTML Structure
1. HTML Tags:
o reate the basic HTML structure with tags like <html>, <head>, and <body>.
C
o
Inside the <head>, include the meta tags for character set and viewport
settings.
o Include the page title inside the <title> tag.
o Create a <style> tag in the <head> section to add the internal CSS.
2. C
reate Page Sections:
o
In the <body>, add the following sections:
▪ Header Section: A header with a main heading <h1>and a paragraph
<p>.
Date:- Roll No:- Class:-
o
reate media queries to adjust the layout and font size for smaller screens
C
(e.g., mobile phones).
o Reduce padding, font sizes, and margins for smaller screens to improve
readability and layout.
Program
<!DOCTYPE html>
html lang="en">
<
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stylish Web Page</title>
header h1 {
font-family: 'Georgia', serif; /* Use a serif font for the header */
font-size: 3em; /* Larger font size for the main title */
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add a subtle text shadow for better
visibility */
}
header p {
font-family: 'Verdana', sans-serif; /* Use sans-serif font for paragraphs */
font-size: 1.2em; /* Slightly larger text for paragraph */
}
a:hover {
color: #1abc9c; /* Green color when the link is hovered */
text-decoration: underline; /* Underline on hover */
}
a:active {
color: #e74c3c; /* Red color when the link is clicked */
}
.main-content, .highlight {
padding: 20px; /* Reduce padding for small screens */
}
footer {
padding: 10px; /* Reduce footer padding */
}
}
</style>
</head>
<body>
/body>
<
</html>
Output:-
Date:- Roll No:- Class:-
Experiment 8
Objective:CSS: Design a web page using CSS(CascadingStyle Sheets) which includes the
following:
1 ) Control the repetition of the image with the background-repeat property.
2) Define styles for links as
A:link
A:visited
A:active
A:hover
Theory:-
To design a web page using CSS that meets the given requirements, we can implement styles
for background images and links in the following manner:
Algorithm:
1. Create the HTML structure:
Date:- Roll No:- Class:-
o dd a basic structure with a header, main content, and links.
A
o
Use the <style> tag in the <head> section to include internal CSS styles.
2. C
ontrol the background image repetition:
o
se the background-repeat property in CSS to control how the image repeats
U
(e.g., no-repeat, repeat-x, or repeat-y).
3. D
efine link styles using pseudo-classes:
o
se the pseudo-classes a:link, a:visited, a:active, and a:hover to style links for
U
different states.
4. S
ave and test the page:
o
Save the file as .html and open it in a web browser to verify the results.
Program:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
background-size: cover; /* Makes the image cover the entire page */
color: #333;
margin: 0;
Date:- Roll No:- Class:-
padding: 0;
}
header {
text-align: center;
padding: 20px;
color: white;
}
a:link {
}
a:visited {
}
a:hover {
}
Date:- Roll No:- Class:-
a:active {
}
main {
padding: 20px;
text-align: center;
}
ul {
padding: 0;
}
li {
}
</style>
</head>
<body>
<header>
</header>
<main>
<ul>
Date:- Roll No:- Class:-
</ul>
</main>
</body>
</html>
Output:-
Date:- Roll No:- Class:-
bjective:
O
Develop a static web page on a chosen topic integrating HTML, CSS, and JavaScript.
Topics:
1 . ersonal Portfolio
P
2. To-Do List
3. Survey Form
4. Tribute Page
5. Questionnaire
Project(Personal Portfolio)
!DOCTYPE html>
<
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Personal Portfolio</title>
<style>
/* General reset for margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
header h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
header p {
font-size: 1.2em;
margin-bottom: 20px;
}
header nav ul {
list-style-type: none;
padding: 0;
}
header nav ul li {
display: inline;
margin-right: 20px;
}
header nav ul li a {
color: white;
text-decoration: none;
font-size: 1.1em;
}
section h2 {
font-size: 2em;
margin-bottom: 20px;
color: #333;
Date:- Roll No:- Class:-
}
#about p {
font-size: 1.1em;
margin: 20px 0;
}
.project-card {
display: inline-block;
width: 280px;
margin: 15px;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
text-align: left;
}
.project-card h3 {
margin-bottom: 10px;
}
.project-card p {
font-size: 1em;
margin-bottom: 15px;
}
.project-card a {
text-decoration: none;
color: #333;
font-weight: bold;
}
#contact p {
font-size: 1.2em;
margin-bottom: 10px;
}
#contact a {
text-decoration: none;
color: #007bff;
font-weight: bold;
}
footer p {
font-size: 1em;
}
header p {
font-size: 1em;
}
.project-card {
width: 100%;
}
}
/style>
<
</head>
<body>
<!-- Header Section -->
<header>
<h1>Reeti Srivastava</h1>
<p>Web Developer</p>
<nav>
<ul>
<li><a href="#about">About</a></li>
<li><a href="#projects">Projects</a></li>
<li><a href="#contact">Contact</a></li>
Date:- Roll No:- Class:-
/ul>
<
</nav>
/header>
<
Output
Date:- Roll No:- Class:-