</tr>
<tr>
<td><div align=
<td><input name=
</tr>
</table>
<p align=
<input type=
<input type=
</p>
</form>
</body>
</html>
上面的代碼雖然可以在頁面內部限制用戶的輸入
<!DOCTYPE HTML PUBLIC
<!
<HTML><HEAD><TITLE>Form</TITLE>
<META http
<META content=
<BODY>
<FORM name=form
<TABLE cellSpacing=
<TBODY>
<TR>
<TD width=
<DIV align=right>用戶名
<TD width=
<TR>
<TD>
<DIV align=right>密碼
<TD><INPUT id=password type=password name=password></TD></TR>
<TR>
<TD>
<DIV align=right>密碼確認
<TD><INPUT id=password
</TABLE>
<P align=center><INPUT type=submit value=Submit> <INPUT type=reset value=Reset>
</P></FORM></BODY></HTML>
上面的頁面將表單的action修改成網站用於接受用戶輸入的PHP頁面
right
From:http://tw.wingwit.com/Article/program/PHP/201311/21497.html