html表单 灰太狼 2022-08-20 06:22 169阅读 0赞 ## 表单 ## <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>表单</title> </head> <body> <form> 用户名 <input type="text"> <br> 密码 <input type="text"> <br> <!--复选框--> 你会的语言 <br> c<input type="checkbox"> c++<input type="checkbox"> java<input type="checkbox"> <!--单选框--> <br> 性别: 男<input type="radio" name="sex"> 女<input type="radio" name="sex"> <br> <!--下拉列表--> work: <select name="work"> <option>JAVA</option> <option>C++</option> </select> <br> <!--按钮--> hello <input type="button" value="hello"> world <input type="submit"value="world"> <br> </form> </body> </html>
还没有评论,来说两句吧...