How to make registration forms using HTML
<html>
<head>
<title>REGISTRATION</title>
<style>
.margin
{
margin-top:100px;
margin-bottom:100px;
margin-left:150px;
margin-left:150px;
}
</style>
</head>
<body>
<form name="registration"action="login.html"method="post">
<table width="50%"border="1">
<tr>
<td>
<table width="50%" border="0" align="center" class="margin">
<tr>
<td colspan="2" align="center">REGISTRATION</td>
</tr>
<tr>
<td>NAME:</td>
<td><input type="text"name="name"size="20"></td>
</tr>
<tr>
<td>USERNAME:</td>
<td><input type="text"name="USERNAME"size="20"></td>
</tr>
<tr>
<td>PASSWORD:</td>
<td><input type="text"name="PASSWORD"size="20"></td>
</tr>
<tr>
<td>EMAIL:</td>
<td><input type="text"name="email"size="20"></td>
</tr>
<tr>
<td>ADDRESS:</td>
<td valign="top"><textarea rows"6"cols="20"name="content"></textarea></td>
</tr>
<tr>
<td><input type="button"name="register"value="register"></td>
</tr>
</form>
</table>
</table>
</body>
</html>
<head>
<title>REGISTRATION</title>
<style>
.margin
{
margin-top:100px;
margin-bottom:100px;
margin-left:150px;
margin-left:150px;
}
</style>
</head>
<body>
<form name="registration"action="login.html"method="post">
<table width="50%"border="1">
<tr>
<td>
<table width="50%" border="0" align="center" class="margin">
<tr>
<td colspan="2" align="center">REGISTRATION</td>
</tr>
<tr>
<td>NAME:</td>
<td><input type="text"name="name"size="20"></td>
</tr>
<tr>
<td>USERNAME:</td>
<td><input type="text"name="USERNAME"size="20"></td>
</tr>
<tr>
<td>PASSWORD:</td>
<td><input type="text"name="PASSWORD"size="20"></td>
</tr>
<tr>
<td>EMAIL:</td>
<td><input type="text"name="email"size="20"></td>
</tr>
<tr>
<td>ADDRESS:</td>
<td valign="top"><textarea rows"6"cols="20"name="content"></textarea></td>
</tr>
<tr>
<td><input type="button"name="register"value="register"></td>
</tr>
</form>
</table>
</table>
</body>
</html>
No comments:
Post a Comment