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>
  • 相关阅读:
    zend server 配置问题 ZendEnablerConf.xml
    ZendStudio 正式版注册破解
    eq几种样式
    js 简单语法 集合
    div上加连接》实用笔记
    VC解析XML使用CMarkup类解析XML
    用PNG透明图片和GDI+做不规则透明窗体"异形窗口"
    程序调试手记—解决Stack Overflow问题
    堆和栈的区别
    CString转换为char *
  • 原文地址:https://www.cnblogs.com/ljming/p/9660276.html
Copyright © 2011-2022 走看看