zoukankan      html  css  js  c++  java
  • 学习日志0504

    记于20120504

    今天学习了html

    做了个练习,是关于表格的

    直接上代码

    <html>
    <head>
    <title>
    注册页面

    </title>
    <meta http-equiv="Content-Type" content="text/html;charset=gb2312">
    </head>
    <body>
    <form action="1.com" method="get">
    <table cellspacing="0" cellpadding="0" width="300">

    <thead>
    <th colspan="2">
    注册
    </th>
    </thead>
    <tbody>
    <tr>
    <td><label for="user">用户名</label></td>
    <td><input id="user"/></td>
    </tr>
    <tr>
    <td><label for="pwd">密码</label></td>
    <td><input type="password" id="pwd"/></td>
    </tr>
    <tr>
    <td><label for="rpwd">确认密码</label></td>
    <td><input type="password" id="rpwd"/></td>
    </tr>
    <tr>
    <td>选择省市:</td>
    <td>
    <select>
    <option checked="checked">
    北京
    </option>
    <option>
    天津
    </option>
    <option>
    上海
    </option>
    <option>
    河北
    </option>
    </select>
    </td>
    </tr>
    <tr>
    <td>性别:</td>
    <td>
    <input type="radio" checked="checked" name="gender" id="male"/><label for="male">男</label>
    <input type="radio" name="gender" id="female"/><label for="female">女</label>
    <input type="radio" name="gender" id="unknown"/><label for="ubknown">未知</label>
    <td>
    </tr>
    <tr>
    <td>职业:</td>
    <td>
    <input type="radio" checked="true" name="job" id="teacher"/><label for="teacher">教师</label>
    <input type="radio" name="job" id="student"/><label for="student">学生</label>
    <input type="radio" name="job" id="others" /><label for="others">其他</label>
    </td>
    </tr>
    <tr>
    <td colspan="2">
    <fieldset>
    <legend>兴趣爱好</legend>
    <input type="checkbox" id="eat"/><label for="eat">吃饭</label>
    <input type="checkbox" id="sleep"/><label for="sleep">睡觉</label>
    <input type="checkbox" id="hit"/><label for="hit">打豆豆 </label>

    </fieldset>
    </td>

    </tr>
    <tr>
    <td align="right"><input type="submit" value="注册"/></td>
    <td><input type="reset" value="重置"></td>
    </tr>
    </tbody>

    </table>
    </form>
    </body>
    </html>

  • 相关阅读:
    Docker 国内镜像源
    SeMF安装指南
    CGI environment variables
    OpenResty + ngx_lua_waf使用
    OpenResty源码编译安装
    Ubuntu安装DVWA
    C安全编码实践
    [译]The Complete Application Security Checklist
    HTTP 安全头配置
    AWVS 10.5使用指南
  • 原文地址:https://www.cnblogs.com/lipengjiushiwo/p/2483507.html
Copyright © 2011-2022 走看看