<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>表单使用</title> </head> <body background="timg.jpg"> <center><br><br><br><br><br><br><br><br> <hr size="2.5px" width="30%" color="blue"><br> <form action="" method="get" class="box"> <div class="form-example"> <label for="name"><font color="blue"><h3>请输入你的用户名:</label> <input type="text" name="name" id="name"></font></h3> </div> <div class="form-example"> <label for="password"><font color="blue"><h3>请输入你的密码: </label> <input type="password" name="password" id="password"></font></h3> </div> <div class="form-example"> <h3><font color="blue">性别: 女生:<input type="radio" name="female"> 男生:<input type="radio" name="male"></h3></font> </div> <div class="form-example"> <h3><font color="blue">你的兴趣: 杂志<input type="checkbox" name="magzine"><br> 美食<input type="checkbox" name="food"><br> 新闻<input type="checkbox" name="news"><br> 游戏<input type="checkbox" name="game"><br> 音乐<input type="checkbox" name="music"><br> </div> <div class="form-example"> <input type="submit" value ="提交"> </div> </form> <hr size="2.5px" width="30%" color="blue"><br> </center> </body> </html>
2st 表单的使用
猜你喜欢
转载自www.cnblogs.com/FerryJ/p/9716523.html
今日推荐
周排行