Creating the static Web page

 

Login.html

<html>

<head>

<title> Login </title>

</head>

<body bgcolor="pink">

<center>

<form> &nbsp;&nbsp;&nbsp;&nbsp;

<b>Login: <input type="text" name="login"/> <br><br> Password: <input type="password" name="password"/> <br><br> <input type="submit" value="Submit"/> <input type="reset" value="Reset"/>

</b>

</form>


</center>

</body> </html.


Register.html

 

 

<html>

<head> </head>

<title> New User! </title>

<body>

<form>

<center>

<h1> <font size="3"> Registration Form </font> </h1>

<hr witdh="50%">

<pre>

User Name: <input type="text" maxlength=15 size=25/> Password: <input type="password" maxlength=15 size=25/>

Confirm Password: <input type="password" maxlength=15 size=25/>

Gender: <input type="radio" name="a">Male</input><input type="radio" name="a">Female</input> Email-ID: <input type="text" maxlength=15 size=25/>

Address: <textarea rows=5 cols=30> </textarea>

<input type="submit" value="Submit"/><input type="reset" value="Reset"/> </pre> </form> </body>

</html>


1.Amazonbookstore.html

<frameset rows="18%,*">

<frame src="topframe.html" scrolling="no"/>

<frameset cols="15%,*">

<frame src="leftframe.html" noresize/>

<frame src="rightframe.html" name="rframe"/>

</frameset>

</frameset>


2.Topframe.html

<html>

<head>

<title> Top Frame </title>

</head>

<body bgcolor=#bbffbb>

<table border="1" width="100%">

<tr> <th width="14%"> <img src="amazon.jpg" width=100 height=50/></th>

<th> AMAZON.COM </th>

</tr>

</table>

<table border="1" width="100%">

<tr>*

<th><a href="rightframe.html" target="rframe">Home</a></th> <th><a href="login.html" target="rframe">Login</a></th> <th><a href="register.html" target="rframe">Register</a></th> <th><a href="catalogue.html" target="rframe">Catalogue</a></th> <th><a href="cart.html" target="rframe">Cart</a></th>

</tr>

</table>

</body> </html>

3.Leftframe.html

 

 

<html>

<head>

<title> Left Frame </title>

</head>

<body bgcolor=#ffffcc>

<center>

<h4><a href="about.html" target="rframe">About</a> </h4> <h4><a href="wishlist.html" target="rframe">WishList</a> </h4> <h4><a href="feedback.html" target="rframe">Feedback</a>

</h4> <h4><a href="payment.html" target="rframe">Payment</a> </h4> </center></body>

</html>


4.Catalogue.html

<html>

<head></head>

<title> Catalogue </title>

<body bgcolor="pink">

<form>

<table border="1" width="100%">

<tr>

<td> <img src="xml.jpg" width=100 height=100/></td>

<td> Book: XML BIBLE <br> Author: Winston <br> Publication:wiley</td> <td> $40.5 &nbsp;&nbsp;&nbsp;</td>

<td> <input type="button" value="Add to cart"/></td>

</tr>

<tr>

<td> <img src="ai.jpg" width=100 height=100/></td>

<td> Book: AI <br> Author: S.Russel <br> Publication:PrincetonHall</td> <td> $63 &nbsp;&nbsp;&nbsp;</td>

<td> <input type="button" value="Add to cart"/></td>


</tr>

</table>

</form> </body> </html>

 





Comments

Popular posts from this blog

8) User Authentication: Assume four users user1, user2, user3 and user4 having the passwords pwd1, pwd2, pwd3 and pwd4 respectively. Write a PHP for doing the following. 1. Create a Cookie and add these four user id’s and passwords to this Cookie. 2. Read the user id and passwords entered in the Login form and authenticate with the values (user id and passwords) available in the cookies. If he is a valid user (i.e., user-name and password match) you should welcome him by name (user-name) else you should display ―You are not an authenticated user ’’. Use init-parameters to do this

4. Write a C program to implement the Brute force technique of Top down Parsing.

Web development Lab