zoukankan      html  css  js  c++  java
  • HTML表单操作的记录

    <!doctype html>
    <html lang="en">
     <head>
      <meta charset="UTF-8">
      <meta name="Generator" content="EditPlus®">
      <meta name="Author" content="">
      <meta name="Keywords" content="">
      <meta name="Description" content="">
      <title>Document</title>
     </head>
     <body>
          <form action = "b.html" method = "post">
    		   姓名:<input type = "text" name = "" size = "50" maxlength = "5" readonly disabled value = "请输入姓名"><br>
    		   密码:<input type = "password" name = "pass" ><br>
    		   隐藏框:<input type = "hidden" name = "age" value = 20><br>
    		   性别:<input type = "radio" name = "sex" checked value = "male" >男<input type = "radio" name = "sex" value = "female">女<br>
    		   国籍:<input type = "radio" name = "country" value = "中国">中国<input type = "radio" name = "country" checked value  = "美国">美国
    <input type = "radio" name = "country">日本<br> 爱好:<input type = "checkbox" name = "love" checked value = "足球"> 足球 <input type = "checkbox" name = "love">排球 <input type = "checkbox" name = "love">篮球<br> 学历:<select multiple name = "xueli"> <option value = "daxue">大学</option> <option value = "zhongxue">中学</option> <option value = "xiaoxue" selected>小学</option> </select><br> 备注: <textarea cols = "20" rows = "5" name = "beizhu">大虾留下你的脚印吧</textarea> 普通按钮:<input type = "button" value = "普通按钮" onclick = "alert('哈哈,我来了')"> 提交按钮:<input type = "submit" value = "提交按钮" > 重置按钮:<input type = "reset" value = "重值按钮"> 图片按钮:<input type = "image" src = "image/1.jpg" width = "30" height = "30"> </form> </body> </html>
  • 相关阅读:
    struts2基础
    hibernate框架基础
    Django的模板层
    HBuilder无法连接夜神模拟器的解决办法
    Django的视图层
    Django的路由层
    Django简介
    http协议
    web应用
    Mongodb之增删改查
  • 原文地址:https://www.cnblogs.com/ouysq/p/4501524.html
Copyright © 2011-2022 走看看