表单-登陆框

一、实现登陆框

1、用到【form】【caption】【table】【method】

2、用户名 <input type="text" name="uername">

3、密码 <input type="password" name="mima">

4、注册 <td aling="center" colspan="1"><input type="submit" value="注册"></td>

二、顺序结构

<form caption="注册.php" name="reg" method="post">

<table border="0" cellpadding="5" align="center" width="100">

<tr>

<td>用户名</td>

<td><input type="text" name="uername"</td>

</tr>

<tr>

<td>密   码</td>

<td><input type="password" name="mima"></td>

</tr> 

<tr>

<td align="center" colspan="1"><input type="submit" value="注册"></td>

<td align="center" colspan="50"><input type="submit" value="登录"></td>

</tr>

</form>

 

你可能感兴趣的:(表单)