HTML ?? ? ??
HTML ?? ? ??
HTML ??? ??? ??? ??? ??? ???? ? ?????.
HTML ??
??? ?? ??? ???? ?????.
?? ??? ???? ???? ??? ??, ???? ??, ??? ??, ???? ?? ?? ???? ??? ??? ? ????.
??? <form> ??? ???? ?????.
<form>
<input type="">
< input type="">
</form>
HTML ?? - ???? ?? ???? ?? ??
?? ??? ?? ??(<input>).
?? ??? ?? ??(type)? ?? ?????. ?? ?? ???? ?? ??? ??? ????.
??? ??
??? ??? <input type="text"> ???? ??? ??, ?? ?? ????? ?? ??? ??? ?????.
<form> 姓名: <input type="text" name="name"><br> 年齡: <input type="text" name="old"> </form>
??: ?? ??? ???? ????. ?? ???? ?????? ??? ??? ?? ??? 20????.
???? ??? <input type="password"> ??? ?????:
<form> 密碼: <input type="password" name="pwd"> </form>
??: ???? ?? ??? ?? ???? ???? ??? ???? ?????. ?? ?? ?.
??? ??
??????
<?? ?? ="checkbox">? ????? ?????. ???? ??? ?? ?? ?? ??? ?? ?? ?? ??? ???? ???.
<input type="radio"> 標簽定義了表單單選框選項 <form> <input type="radio" name="sex" value="male">男 <br> <input type="radio" name="sex" value="female">女 </form>
?? ??
<input type="submit ">
???? ?? ??? ???? ??? ??? ?? ??? ?????. ??? ?? ??? ?? ??? ?? ??? ?????. action ???? ??? ??? ????? ??? ?? ???? ?? ?? ??? ?????. :
<form> <input type="checkbox" name="hobby" value="LOL">我喜歡玩LOL <br> <input type="checkbox" name="hobby" value="CF">我喜歡玩CF </form>
? ??? ????:
<form name="input" action="html_form_action.php" method="get"> 用戶名: <input type="text" name="user"> 密碼: <input type="password" name="pwd"> <input type="submit" value="Submit"> </form>