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>
  • 相关阅读:
    洛谷P1880 石子合并
    洛谷P3265 装备购买
    bzoj1345 序列问题
    从群里抄来的某题
    poj2689 Prime Distance
    灯 & 树
    [HNOI2013]游走
    A
    B
    hdu 1247 Hat’s Words(字典树)
  • 原文地址:https://www.cnblogs.com/hduhdc/p/5232164.html
Copyright © 2011-2022 走看看