<! DOCTYPE html>
<meta charset=utf-8>
<title>formtext</title>
<body topmargin= "leftmargin=" background= "formbg.jpg" >
<form>
<table width= "cellpadding=" 5 "cellspacing=" border= "1" align= "center" >
<tr>
<td><lable for= "email" width= "20%" > email:</lable></td>
<td><input id= "user" type= "text" placeholder= "please Enter your email address" ></td>
</tr>
<tr>
<td></td>
<td> need to activate account via email, do not support 21cn,qq such as Mailbox </td>
</tr>
<tr>
<td><lable for= "user" > Login username:</lable></td>
<td><input id= "user" type= "text" placeholder= "please Enter your username" ></td>
</tr>
<tr>
<td></td>
<td> only used at login, not less than 4 characters </td>
</tr>
<tr>
<td><lable for= "disuser" > Display name:</lable></td>
<td><input id= "disuser" type= "text" placeholder= "name show here" ></td>
</tr>
<tr>
<td></td>
<td> nickname, no less than 2 words </td>
</tr>
<tr>
<td><lable for= "password" > password:</lable></td>
<td><input id= "password" type= "password" placeholder= "please Enter password" ></td>
</tr>
<tr>
<td><lable for= "password" > Repeat password:</lable></td>
<td><input id= "password" type= "password" placeholder= "enter password again" ></td>
</tr>
<tr>
<td></td>
<td> password not less than 8 digits, must contain letters, numbers, special characters </td>
</tr>
<tr>
<td><lable for= "sexman" > sex:</lable></td>
<td><input id= "sexman" type= "radio" name= "sex" > Male <input id= "sexwomen" type= "radio" name= "sex" > Women < /TD>
</tr>
</tr>
<tr>
<td><lable for= "like" > Preferences (radio):</lable></td>
<td>
<select id= "like" name= "like" >
<option> Football </option>
<option> Basketball </option>
<option> Volleyball </option>
</select>
</td>
</tr>
<tr>
<td><lable for= "like" > Evil Good (multi-choice):</lable></td>
<td>
<select id= "elike" name= "elike" size= "3" multiple= "true" >
<option> drinking </option>
<option> Smoking </option>
<option> Gambling </option>
</select>
</td>
</tr>
<tr>
<td><lable for= "checkbox" > fortune:</td>
<td><input id= "checkbox" type= "checkbox" name= "checkbox" > lots of money <input id= "checkbox" type= "checkbox" Name = "checkbox" > A little money <input id= "checkbox" type= "checkbox" name= "checkbox" > Poor wretch </td>
</tr>
<tr>
<td></td>
<td>ctrl + Options </td>
</tr>
</tr>
<tr>
<td><input type= "submit" value= "registration" ></td>
<td><input type= "reset" ></td>
</tr>
</table>
</form>
</body>
HTML4 table and Form--registration form