1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
| <h1>注册</h1>
<form action="我的第一个网页.html" method="get"> <p>用户名:<input type="text" name="username" value="xxxxx" maxlength="8" size="20" ></p> <p>密码:<input type="password" name="password" placeholder="请输入密码" required></p>
<p>性别: <input type="radio" value="boy" name="sex" checked >男 <input type="radio" value="girl" name="sex">女 </p>
<p>爱好: <input type="checkbox" value="1" name="hobby" checked>1 <input type="checkbox" value="2" name="hobby">2 <input type="checkbox" value="3" name="hobby">3 </p>
<p> 按钮: <input type="button" name="bt1" value="按钮1"><br/> 图片按钮:<br/> <input type="image" src="../resource/img/yuanchuang1.jpg" width="500px" height="350px"> <br/> 上传文件: <input type="file" name="files"> <input type="button" name="upload" value="上传"> </p>
<p>下拉框: <select name="列表"> <option value="值1">1</option> <option value="值2">2</option> <option value="值3" selected>3</option> <option value="值4">4</option> </select> </p>
<p> 反馈:<br/> <textarea name="textarea" cols="50" rows="10">请输入文本内容</textarea> </p>
<p>邮箱验证: <input type="email" name="email"> </p> <p>url验证: <input type="url" name="url"> </p> <p>数字验证: <input type="number" name="number"> </p>
<p>自定义邮箱: <input type="text" name="diyemail" pattern="^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$"> </p>
<p>滑块: <input type="range" name="voice" min="0" max="100" step="5"> </p>
<p>搜索: <input type="search" name="search"> </p>
<label for="mark">点点我:</label> <input type="text" id="mark">
<p> <input type="submit"> <input type="reset"> </p> </form>
|