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>

  • 相关阅读:
    创建型设计模式-原型模式(单例) MemberwiseClone()
    Oracle 查看没有释放的链接 和删除,相关sql
    win10 安装 SQL Developer 工具
    修改nuget包默认存放路径 win10
    使用端口查询
    未能加载文件或程序集“Newtonsoft.Json, Version=12.0.0.0,
    微信错误码
    sqlserver 时间转换记录
    Homebrew 使用指南
    在Mac检查安装的.net core 版本
  • 原文地址:https://www.cnblogs.com/lipengjiushiwo/p/2483507.html
Copyright © 2011-2022 走看看