Web Design File
Web Design File
Lab File
(BCS – 353)
Web Designing Workshop
HOMEPAGE:
2
LOGINPAGE:
The cart page contains the details about the books which are added to
the cart. The cart page should look like this:
5
REGISTRATION PAGE:
Create a “registration form” with the following fields
1)Name (Text field)
2)Password (password field)
3) E-mail id(text field)
4) Phone Number(text field)
5) Sex(radio button)
6) Date of birth(3 select boxes)
7) Languages known(check boxes–English, Telugu, Hindi, Tamil)
8) Address(text area)
1. E-mail id (should not contain any invalid and must follow the
standard pattern (name@domain.com)
2. Phone Number (Phone number should contain 10 digits only).
8
CSS: Design a web page using CSS(Cascading Style 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
Roll No. - 2301921530085 Name: Ishika Chaurasia
to activate the styles.
2) Set a background image for both the page and single elements on
the
page.
9
CSS:
10
Consider a small topic of your choice on which you can develop static
Webpages and try to implement all topics of html, CSS and Js within
the topic.
1 Design the following static web pages required for an online book store website.
HOMEPAGE:
The static home page must contain three frames.
Top frame: Logo and the college name and links to Homepage, Login page, Registration page,
Catalogue page and Cart page (the description of these pages will be given below).
Left frame: At least four links for navigation, which will display the catalogue of respective links.
Right frame: The pages to the links in the left frame must be loaded here. Initially This page
contains description of the web site.
For example: When you click the link “CSE” the catalogue for CSE Books should be displayed in
the Right frame. Right frame: The pages to the links in the left frame must be loaded here. Initially
this page contains description of the web site.
head.html
<html>
<head>
<title>Head Page</title>
</head>
<body>
<font face="Arial Black" size="3">
<table border="1" cellspacing="2" cellpadding="5" width="100%">
<tr>
<td align="center"><img src="E:\2023 24\WD Workshop\E1\glblogo.jpg" width="101"
height="101"/></td>
<td colspan="4" align="center">Web Site Name</td>
</tr>
</table>
</font>
</body>
</html>
menu.html
<html>
<head>
<title>Menu</title>
</head>
<body>
<font face="Arial Black" size="3">
<table border="0" cellspacing="2" cellpadding="0" width="100%">
<tr>
<td align="center"><a href="description.html" target="des_page">HOME</a></td>
<td align="center"><a href="login.html" target="des_page">LOGIN</a></td>
<td align="center"><a href="registration.html" target="des_page">REGISTRATION</a> </td>
<td align="center"><a href="catalogue.html" target="des_page">CATALOGUE</a></td>
<td align="center"><a href="cart.html" target="des_page">CART</a></td>
</tr>
</table>
</font>
</body>
</html>
Output:
dept.html
<html>
<head>
<title>Departments Page</title>
</head>
<body>
<font face="Arial Black" size="4">
<table align="center" height="100%">
<tr>
Output:
desc.html
<html>
<head>
<title> Description page</title>
</head>
<body>
<br><br><br><br><br><br><br><br><br><br>
<font face="TIMES NEW ROMAN" size="5">
<center>
Description of the Website
</center>
</font>
</body>
</html>
home.html
<html>
<head>
<title>Home page</title>
</head>
<frameset rows="20,10,70">
<frame src="head.html" name="head_page" scrolling="NO">
<frame src="menu.html" name="menu_page">
<frameset cols="10,55">
<frame src="dept.html" name="dept_page">
<frame src="desc.html" name="des_page">
</frameset>
</frameset>
</html>
Output:
login.html
<html>
<head>
<title>Login Page</title>
</head>
<body>
<center>
<font face="Arial Black" size="4"><u><b>LOGIN
FORM</b></u></font> <br><br>
<form name="f1" action="" method="post">
<table frame="box" cellspacing="10"><tr>
<td>Login</td>
<td><input type="text" size="25"></td></tr>
<tr><td>Password</td>
<td><input type="password" size="25"></td></tr>
<tr><td colspan="2" align="center">
<input type="submit" value="SUBMIT">
<input type="reset" value="RESET"></td></tr>
</table>
</form>
</center>
</body>
</html>
Program- catalogue.html
<html>
<body>
<center>
<table border=1>
<tr>
<th> Book Preview </th>
<th> Book Details </th>
<th> Price </th>
<th> Payment </th>
</tr>
<tr>
<td>   <img src="E:\2023 24\WD Workshop\E1\DAA.jpeg" width=100 height=150>
</img>
</td>
<td>
<pre>
<font face="comic sans ms" size=4 color="green" >
book:Introduction To Algorithms
Author:Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein  
Publisher:MIT Press
</font>
Output:
4 CARTPAGE: The cart page contains the details about the books which are added to the cart.
Program-cart.html
<html>
<head>
<title>Cartpage</title>
</head>
<body>
<center>
<table border=1 width=50 height=10 cellpadding=10 cellspacing=10>
<table width="80%" height="60%" border="2"><tr>
<th>Book Name</th>
<th>Price</th>
<th>Quantity</th>
<th>Amount ($)</th></tr>
<tr><td>Introduction To Algorithms</td>
<td><center>$40</center></td>
<td><center>2</center></td>
<td><center>$80</center></td></tr>
<tr><td>Java</td>
<td><center>$40</center></td>
<td><center>1</center></td>
<td><center>$40</center></td>
</table>
<h3>Total Amount= $120</h3>
</center>
</body
</html
Program- registration.html
<html>
<head><title>Registration Form</title></head>
<body bgcolor="#9CAF88">
<center><font color="blue" size="6" face="arial">Registration Form</font></center><br>
<form action="rsubmitted.html">
<font color="blue"> First Name(Minimum 6 characters) </font> &nsp&nsp&nsp
<input type='text' id='firstname'><br><br>
<font color="blue">Last Name</font>&nsp&nsp&nsp& nsp&nsp&nsp&nsp
<input type='text' id='lastname'><br><br>
<font color="blue"> EmailAddress </font> nsp&nsp&nsp&nsp nsp&nspnsp&nsp
<input type='text' id='email'><font color="red">e.g. xyz@gmail.com</font><br><br>
<font color="blue">Password(Minimum 6 characters)</font> nsp&nsp&nsp&nsp
<input type='password' id='pass'><br><br>
<font color="blue">Address</font> nsp&nsp&nsp&nsp
<textarea rows="4" cols="25" id='address'></textarea> <br><br>
<font color="blue">Mobile No.</font> nsp&nsp&nsp&nsp nsp&nsp&nsp&nsp
<input type='text' id='mobileno'><br><br>
<font color="blue"> Gender: </font><input type='radio' name="gender"><font color="blue">male</font>
<input type='radio' name="gender"><font color="blue">female</font><br><br>
<input type='Submit' value='submit'>
<input type='Reset' value='reset'>
</form>
</body>
</html>