zoukankan      html  css  js  c++  java
  • 表单提交,以及标注。

     1 <!DOCTYPE html>
     2 <html>
     3     <head>
     4         <meta charset="utf-8">
     5         <title></title>
     6     </head>
     7     <body>
     8         <form action="http://www.miaov.com">《提交以后的网站》
     9             <p>
    10                 <label for="user_name">用户名:</label>《label是标注的标签》
    11                 <input type="text" name="user_name" value="" id="user_name" disabled="disabled" />《disabled=“disabled的时候名字就不能修改”》
    12             </p>
    13             <p>
    14                 <label for="pw">密码:</label>
    15                 <input type="password" name="password" value="" id="pw" />
    16             </p>
    17             <p>
    18                 <label for="">性别:</label>
    19                 <input type="radio" name="sex" value="men" checked="checked" />男《checked=“checked”这句话就是必须选的意思,自动勾选了》
    20                 <input type="radio" name="sex" value="women" />21             </p>
    22             <p>
    23                 <label for="">兴趣:</label>
    24                 <input type="checkbox" name="xingqu" value="chi" checked="checked" />25                 <input type="checkbox" name="xingqu" value="shuijiao" />睡觉
    26                 <input type="checkbox" name="xingqu" value="dadoudou" />打豆豆
    27             </p>
    28             <p>
    29                 <input type="submit" />
    30                 <input type="reset" />
    31             </p>
    32         </form>
    33     </body>
    34 </html>
  • 相关阅读:
    js 鼠标事件大全
    ASP.NET 解决重复提交问题
    C# 统计函数运行时间
    DataGrid 、Repeater、DataList、GridView自动编号列
    两种时间格式正则表达式HH:mm 和HH:mm:ss
    SQL Server2008 新语法
    XYTipsWindow 2.8
    MSSQL 清空日志
    SQL 日期格式化大全
    HDOJ 2132
  • 原文地址:https://www.cnblogs.com/hduhdc/p/5232164.html
Copyright © 2011-2022 走看看