zoukankan      html  css  js  c++  java
  • 表单

    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>表单标签</title>
    <style type="text/css">
     h2{
        font-size="12px";
        color:red;
        
    }
     </style>
    
    </head>
    <body>
    <h2>&nbsp;&nbsp;&nbsp;&nbsp;用户登录</h2>
    <form method="post" action="save.php">
      &nbsp;账号: 
        <input  type="text"  name="myName" />
        <br>
      &nbsp;密码: 
        <input  type="password"  name="pass" /><br>
        <label>&nbsp;性别:</label>
        <label></label>
        <input type="radio" value="1"  name="gender" />
        <label></label>
        <input type="radio" value="2"  name="gender" /><br>
        <p>
        &nbsp;你喜欢的水果(单选)<br>
        <input type="radio" name="fruit" value="苹果">苹果
        <input type="radio" name="fruit" value="桃子">桃子
        <input type="radio" name="fruit" value="西瓜">西瓜
        <input type="radio" name="fruit" value="以上都不喜欢">以上都不喜欢<br>
        </p>
        <div>
        &nbsp;你喜欢的运动(多选)<br>
        <input type="checkbox" name="sport1" value="跑步">跑步
        <input type="checkbox" name="sport2" value="游泳">游泳
        <input type="checkbox" name="sport3" value="登山">登山
        <input type="checkbox" name="sport4" value="自行车">自行车
        <input type="checkbox" name="sport5" value="乒乓球">乒乓球
        </div>
        <input type="submit" value="确定"  name="submit" />
        <input type="reset" value="重置" name="reset" />
    </form>  
    </body>
    </html>
  • 相关阅读:
    window.open()参数列表
    感受教育,焦点访谈
    《迷墙》
    锻炼身体
    Great Fire Wall
    今天
    查询重复记录的SQL语句
    Oracle,SQL Server,Access万能数据库通用类!
    经典SQL语句大全
    C#编码规范
  • 原文地址:https://www.cnblogs.com/ljming/p/9660276.html
Copyright © 2011-2022 走看看