I am interested to create my web page. There are lot of information available on Internet. Within few hours of searching I created web page using notepad that have only two functions. I could be add more things but I thought first I have to make only few things just simple page.
If user have Id and password than log in to website
if user don’t have ID and password than register.
html code Page 1
html code Page 2
I have two different pages. I was viewing on Internet explore. If I press on register button than second page should be open so I want to link both pages. does it make any sense, How to link both pages?
If user have Id and password than log in to website
if user don’t have ID and password than register.
html code Page 1
HTML:
<html>
<head>
<title>welcome</title>
</head>
<body>
<center>
<p>Username: <input type="text" name="txtuser"><br/></p>
<p>Password: <input type="password" name="txtpwd"><br/></p>
<p><input type="submit" name="btnsumit" value="login"> </p>
<p><input type="submit" name="btnsumit" value="Register"> </p>
</body
</html>
HTML:
<html>
<head>
<title>Register</title>
</head>
<body>
<h1>Registration</h1>
<table>
<tr><td>First name</td><td> <input type="text"></td>
<tr><td>Last name</td><td> <input type="text"></td>
<tr><td>E-mail</td><td> <input type="text"></td>
<tr><td>Password</td><td> <input type="text"></td>
<tr><td>Re-Enter Password</td><td> <input type="text"></td>
</tr>
</table>
<p><input type="submit" name="btnsumit" value="Sign up"> </p>
</body>
</html>