1. 程式人生 > >Weekly Work - from表單練習

Weekly Work - from表單練習

name input body ali use enter nbsp 日期 bmi

<!DOCTYPE HTML>
<html lang="zh-cn">
    <head>
        <title>form表單作業</title>
        <meta charset="utf-8">
    </head>
    <body align="center">
        <form method="GET">
            <label for="register_username">請輸入用戶名:</label><br/>
            <input type="text" name="username" id="register_username">
            <br/><br/>
            <label for="register_password1">請輸入密碼:</label><br/>
            <input type="password" name="password1" id="register_password1"> 
            <br/><br/>
            <label for="register_password2">請再次輸入密碼:</label><br/>
            <input type="password" name="password2" id="register_password2">
            <br/><br/>
            <label>輸入你的郵箱</label><br/>
            <input type="email" name="email"><br/><br/>
            <label>選擇你的出生日期</label><br/>
            <input type="month" name="bdaymonth">
            <br/><br/>
            <input type="radio" name="sex" value="男" checked>男
               
            <input type="radio" name="sex" value="女">女
            <br/><br/>
            <input type="submit" value="註冊">
        </form>
    </body>
</html>

  

Weekly Work - from表單練習