Professional Documents
Culture Documents
NAME : ……………………………………………………………
ROLL NO : ……………………………………………………………
CLASS : ……………………………………………………………
2021 REGULATIONS
(4th) EVEN SEMESTER
DIPLOMA IN COMPUTER NETWORKING
PSG POLYTECHNIC COLLEGE
DEPARTMENT OF COMPUTER NETWORKING
REGISTER NUMBER
to ……………
AIM:
CODE:
<html>
<head>
<title>Online Bookstore - Catalogue</title>
</head>
<body>
<header>
<h1>Online Bookstore</h1>
<nav>
<p>
<a href="home.html"><button>Home</button></a><br>
<br><a href="cart.html"><button>Shopping Cart</button></a>
</p>
</nav>
</header>
<section>
<form>
Enter the book to search <input type=""> <button>search</button>
</form>
<h2>Featured Books</h2>
<ul>
<li>
<h3>Book Title</h3>
<img src="book1.jpg" alt="Book Cover">
<p>Book Description</p>
OUTPUT:
<button>Add to Cart</button>
</li>
<li>
<h3>Book Title</h3>
<img src="book2.jpg" alt="Book Cover">
<p>Book Description</p>
<button>Add to Cart</button>
</li>
<li>
<h3>Book Title</h3>
<img src="book3.jpg" alt="Book Cover">
<p>Book Description</p>
<button>Add to Cart</button>
</li>
</ul>
</section>
<footer>
<p>Sample web page of a online bookstore</p>
</footer>
</body>
</html>
EXPLANATION:
RESULT:
AIM:
CODE:
Homepage: (home.html)
<html>
<head>
<title>Online Bookstore - Home</title>
</head>
<body>
<header>
<h1>Online Bookstore</h1>
<nav>
<p>
<a href="Login.html"><button>Login or Register</button></a><br>
<br><a href="book catalogue.html"><button>Book Catalogue</button></a>
</p>
</nav>
</header>
</body>
</html>
<html>
<head>
OUTPUT (HOMEPAGE):
<title> Online Bookstore - Login </title>
</head>
<body>
<header>
<h1>Online Bookstore</h1>
<nav>
<p>
<a href="home.html"><button>Home</button></a><br>
<br><a href="book catalogue.html"><button>Browse as guest</button></a>
</p>
</nav>
</header>
<section>
<form>
<p>
Username: <input type="text"><br>
<br>Password: <input type="password">
</p>
</form>
<nav>
<p>
<a href="profile.html"><button>Submit</button></a><br>
<br><a href="register.html"><button>Sign up</button></a>
</p>
</nav>
</section>
</body>
</html>
Registration: (register.html)
<html>
<head>
<title> Online Bookstore - Register </title>
OUTPUT (REGISTRATION):
</head>
<body>
<header>
<h1>Online Bookstore</h1>
<nav>
<p>
<a href="home.html"><button>Home</button></a><br>
<br><a href="Login.html"><button>Sign in</button></a>
</p>
</nav>
</header>
<section>
<form>
<p>
First Name: <input type="text"><br>
<br>Last Name : <input type="text"><br>
<br>Username : <input type="text"><br>
<br>Password : <input type="password"><br>
<br>Re-Enter : <input type="password">
</p>
</form>
<a href="Login.html"><button>Submit</button></a>
</section>
</body>
</html>
<html>
<head>
<title>Online Bookstore - Profile page</title>
</head>
<body>
<header>
OUTPUT (USER PROFILE):
<h1>Online Bookstore</h1>
<nav>
<p>
<a href="home.html"><button>Home</button></a><br>
<br><a href="book catalogue.html"><button>Book Catalogue</button></a>
</p>
</nav>
</header>
<section>
<h3>Username</h3>
<img src="profile pic.jpg" alt="Profile pic">
<p>
First Name: First Name<br>
<br>Last Name: Last Name<br>
<br>DOB: DOB<br>
</p>
</section>
</body>
</html>
<html>
<head>
<title>Online Bookstore - Catalogue</title>
</head>
<body>
<header>
<h1>Online Bookstore</h1>
<nav>
<p>
<a href="home.html"><button>Home</button></a><br>
<br><a href="cart.html"><button>Shopping Cart</button></a>
</p>
OUTPUT (BOOK CATALOGUE):
</nav>
</header>
<section>
<form>
Enter the book to search <input type=""> <button>search</button>
</form>
<h2>Featured Books</h2>
<ul>
<li>
<h3>Book Title</h3>
<img src="book1.jpg" alt="Book Cover">
<p>Book Description</p>
<button>Add to Cart</button>
</li>
<li>
<h3>Book Title</h3>
<img src="book2.jpg" alt="Book Cover">
<p>Book Description</p>
<button>Add to Cart</button>
</li>
</ul>
</section>
</body>
</html>
<html>
<head>
<title>Online Bookstore - Cart</title>
</head>
<body>
<header>
<h1>Online Bookstore</h1>
OUTPUT (SHOPPING CART):
<nav>
<p>
<a href="home.html"><button>Home</button></a><br>
<br><a href="book catalogue.html"><button>Book Catalogue</button></a>
</p>
</nav>
</header>
<section>
<h2>Shopping Cart</h2>
<ul>
<li>
<h3>Book Title</h3>
<img src="book1.jpg" alt="Book Cover">
<p>Book Description</p>
</li>
<li>
<h3>Book Title</h3>
<img src="book2.jpg" alt="Book Cover">
<p>Book Description</p>
</li>
</ul>
<a href="payment.html"><button>Proceed to buy</button></a>
</section>
</body>
</html>
Payment: (payment.html)
<html>
<head>
<title>Online Bookstore - Payment</title>
</head>
<body>
<header>
OUTPUT (PAYMENT):
<h1>Online Bookstore</h1>
<nav>
<p>
<a href="home.html"><button>Home</button></a><br>
<br><a href="cart.html"><button>Return</button></a>
</p>
</nav>
</header>
<section>
<form>
<p>
<input type="checkbox">Credit / Debit card
Card details (if card)<br>
<br>Card number : <input type="text"><br>
<br>Phone number: <input type="text"><br>
<br>CVV : <input type="text"><br>
<br><input type="checkbox">UPI<br>
<br><input type="checkbox">COD
</p>
</form>
<a href="confirm.html"><button>Confirm Order</button></a>
</section>
</body>
</html>
<html>
<head>
<title>Online Bookstore - Order</title>
</head>
<body>
<header>
<h1>Online Bookstore</h1>
OUTPUT (ORDER CONFIRMATION):
<nav>
<p>
<a href="home.html"><button>Home</button></a><br>
<br><a href="cart.html"><button>Return</button></a>
</p>
</nav>
</header>
<section>
<h3>Your oder is been confirmed</h3>
<h4>If you want to cancel contact customer care</h2>
<h5>Thank you</h5>
</section>
</body>
</html>
RESULT: