-
Notifications
You must be signed in to change notification settings - Fork 1
/
register_form.html
21 lines (21 loc) · 1.09 KB
/
register_form.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<form action="register.php" method="post">
<table >
<tr>
<td><input name="regusername" type="text" value="Username" onfocus="if(this.value=='Username') this.value='';" onblur="if(this.value=='') this.value='Username';"/></td>
</tr>
<tr>
<td><input name="regpassword" type="text" autocomplete="off" value="Password" onfocus="if(this.value=='Password'){ this.value='';this.type='password';}" onblur="if(this.value=='') this.value='Password';"/></td>
</tr>
<tr>
<td><input name="regpassword2" type="text" autocomplete="off" value="Confirm Password" onfocus="if(this.value=='Confirm Password'){ this.value=''; this.type='password';}" onblur="if(this.value=='') this.value='Confirm Password';"/></td>
</tr>
<tr>
<td><input name="email" type="text" value="Email" onfocus="if(this.value=='Email') this.value='';" onblur="if(this.value=='') this.value='Email';"/></td>
</tr>
<tr>
<td><input type="submit" name="submit" class="button" value="Register" />
<input type="reset" name="reset" class="button" value="Reset" /> </td>
</tr>
</table>
</form>
Note: Username and Password must be alphanumeric