Page 4246
Page 4246
Lab File
(BCS – 353)
Web Designing Workshop
1 Designthefollowingstaticwebpagesrequiredforanonlinebooks
torewebsite.
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.
2 LOGINPAGE:
This page looks like below:
</table>
</font>
</body>
</html>
Roll No. 2301920100074
Name: Arjit Kumar
Step 3: Save as “head.html”
Step 4: Double click on the saved file (“head.html”)
Output:
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>
<tdalign="center"><a href="description.html" target="des_page">HOME</a></td>
<tdalign="center"><a href="login.html" target="des_page">LOGIN</a></td>
<tdalign="center"><a href="registration.html"
target="des_page">REGISTRATION</a></td>
<tdalign="center"><a href="catalogue.html" target="des_page">CATALOGUE</a></td>
<tdalign="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%">
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>
Output:
EXPERIMENT 2:
2 LOGINPAGE:This page looks like below:
Program-catalogue.html
<html>
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>
Roll No. 2301920100074
Name: Arjit Kumar
<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>
Output-
Program- registration.html
<html>
<head><title>Registration Form</title></head>
<body bgcolor="#100">
<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&nspnsp&nspnsp&nsp
<input type='text' id='email'><font color="red">e.g. [email protected]</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&nspnsp&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>