HTML ?? ???? ??? ? ? ??? ?? ? ???? ??
? ? ??? ??
?? ??:
<?? ?? = “???” ?? = “ Value" />
?? ??
name: ??? ??? ?????. ?? ??? ??, ??, ??? ??? ? ?? ???? ??? ? ??? ????.
type: ?? ??? ?????.
?: ??? ??? ????.
size: ??? ??? ??("??")???.
maxLength: ??? ? ?? ?? ?? ?? ???? ??? ? ????.
?? ??: ?? ?? ?????. ??? ?? ??? ??? ?? ????. ?: readonly = “readonly”
disabled: ????? ??. ????? ??? ? ????. ?: ???? = “????”
?:
<input type="text" name="username" />
? ? ???? ??
?? ??:
< ; ?? ?? = “password” ?? = “value” />
?? ??
name: ???? ??? ??. ?? ??? ??, ??, ??? ??? ? ?? ???? ??? ? ??? ????.
type: ?? ??? ?????.
value: ??? ????.
size: ??? ??("??").
maxLength: ??? ? ?? ?? ?? ?? ???? ??? ? ????.
?? ??: ?? ?? ?????. ??? ?? ??? ??? ?? ????. ?: readonly = “readonly”
disabled: ????? ??. ????? ??? ? ????. ?: ???? = “????”
?:
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>用戶注冊(cè)</title> </head> <body> <font size="5" color="red">歡迎注冊(cè)php.cn</font> <form name="user" method="get" action="" > 用戶名:<input type="text" name="username" value="請(qǐng)輸入您的用戶名" maxLength="6"/> <br/> 密碼:<input type="password" name="userpwd" maxLength="6"/> <br/> <input type="submit" value="提交信息"/> </form> </body> </html>
?? ??? ???? ??