Week-2 Date:
------------------------------------------------------------------------------------------------------------
AIM: Design
of the cart page and the registration page required for online book store.
4) CART PAGE
DESCRIPTION:
The
cart page contains the details about the books which are added to the cart.
PROGRAM:
<html>
<body>
<center><br><br><br>
<img
src=”E:\aa.jpg”>
<table border=1 cellpadding=center>
<thead>
<tr>
<th>Book name</th>
<th>price</th>
<th>quantity</th>
<th>amount</th>
</tr>
</thead>
<tr>
<td>java
2</td>
<td>$45</td>
<td>2</td>
<td>$70</td>
</tr>
<tr>
<td> XML
bible</td>
<td>
$20</td>
<td>
5</td>
<td>
$40</td>
</tr>
<th
colspan=4>total amount=$110>
</th>
</tr>
</table>
</center>
</body>
</html>
OUTPUT:
http://wikibrand.blogspot.in |
5) REGISTRATION PAGE
DESCRIPTION:
Create a “registration form
“with the following fields
1)Name(Textfield)
2) Password (password 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)
PROGRAM:
<html>
<body>
<center>
<img src=”E:\aaa.jpg” align=”left”>
<form>
<label>name</label>
<input type="text"
size="20"><br><br> <br>
<label>password</label>
<input type="password" size="20"
maxsize="28"><br> <br> <br>
<label>email</label>
<input type="text" size="30"><br>
<br> <br>
<label>phone no</label>
<input type="text" size="2">
<input type="text" size="6">
<input type="text" size="10"><br>
<br> <br>
<label>Sex</label>
<input type="radio" name="sex">m
<input type="radio" name="sex">f <br>
<br> <br>
<label> date of birth</label>
<select>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<select>
<option>jan</option>
<option>feb</option>
<option>mar</option>
<option>apr</option>
</select>
<select>
<option>1980</option>
<option>1981</option>
<option>1982</option>
<option>1983</option>
</select> <br> <br> <br>
<label> Languages Known </label>
<input type="checkbox"> English
<input type="checkbox"> Telugu
<input type="checkbox"> Hindi
<input type="checkbox"> Tamil <br> <br>
<br>
<label> Address </label>
<textarea rows=5 cols=20 scrolling="yes">
</textarea>
</center>
</body>
</html>
OUTPUT:
http://wikibrand.blogspot.in |
RESULT:
Thus the registration and cart pages for online book store
pages are created successfully
SOURCE:PVPSIT FOR JNTU
Awesome,
ReplyDeleteThank you so much for sharing such an awesome blog...
online supermarket in nairobi