用戶注冊(cè)
請(qǐng)?zhí)顚?xiě)以下信息:
<form id="register-form" action="register.php" method="post"> <p> <label for="username">用戶名:</label> <input type="text" id="username" name="username" required> </p> <p> <label for="password">密碼:</label> <input type="password" id="password" name="password" required> </p> <p> <label for="confirm-password">確認(rèn)密碼:</label> <input type="password" id="confirm-password" name="confirm-password" required> </p> <p> <label for="email">郵箱:</label> <input type="email" id="email" name="email" required> </p> <p> <label for="sex">性別:</label> <select id="sex" name="sex" required> <option value="">請(qǐng)選擇</option> <option value="男">男</option> <option value="女">女</option> </select> </p> <p> <label for="city">籍貫:</label> <select id="city" name="city"> <option value="">請(qǐng)選擇</option> <option value="北京">北京</option> <option value="上海">上海</option> <option value="廣州">廣州</option> <option value="深圳">深圳</option> </select> </p> <p> <input type="submit" value="立即注冊(cè)"> </p> </form>