线上培训第三天
代码:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>用户注册</title> </head> <body> <form action="regiter.php" method="post"> <table border="1" cellpadding="10" width="35%" bgcolor="#eaedf7"> <caption><h3>用户注册</h3></caption> <tr> <td><label for="userName">姓名</label></td> <td><input type="text" name="userName" id="userName" placeholder="请输入姓名" size="18"></td> </tr> <tr> <td><label for="passWord">密码</label></td> <td><input type="password" name="passWord" size="18" id="passWord" placeholder="字符加数字格式组成"></td> </tr> <tr> <td><label for="iPhone">电话</label></td> <td><input type="text" name="iPhone" id="iPhone" placeholder="请输入手机号码" size="18"></td> </tr> <tr> <td>性别</td> <td> <input type="radio" name="sex" value="boy">男 <input type="radio" name="sex" value="girl">女 <input type="radio" name="sex" value="secret" checked="true">保密 </td> </tr> <tr> <td>擅长数据库</td> <td> <input type="checkbox" name="database[]" value="oralce" checked="true">Oracle <input type="checkbox" name="database[]" value="mysql" >MySQL <input type="checkbox" name="database[]" value="sqlserver" >SQLServer </td> </tr> <tr> <td>选择职业</td> <td> <select name="profession"> <option>软件工程师</option> <option>测试工程师</option> <option>硬件工程师</option> <option>质量分析师</option> </select> </td> </tr> <tr> <td>上传身份证件</td> <td><input type="file" name="Card" accept="image/*"></td> </tr> <tr> <td>主要工作经历</td> <td> <textarea rows="5" cols="40" name="work" placeholder="项目经验"></textarea> </td> </tr> <tr> <td colspan="2"><input type="submit" name="submit" value="提交"> <input type="reset" name="reset" value="重填"></td> </tr> </table> </form> </body> </html>
手抄作业: