zoukankan      html  css  js  c++  java
  • form表单

     form表单提交数据的注意事项:

    1、所有获取用户输入的标签都必须放在form表单里面

    2、action控制着往哪提交

    3、input、select、textarea都需要有name属性

    4、提交按钮 <input type='submit'>

    总结:

    input:

      text

      password

      radio 单选框

      checkbox多选框

      date日期

      datetime时间

      file文件

      button普通按钮,通常和js一起使用

      reset重置

      submit提交

      textarea大段文本

      select下拉菜单

        option具体的下拉选项

        optgroup分组的下拉框

          --label=‘’

      

      

  • 相关阅读:
    3.21上午
    3.17下午
    2017.4.14-morning
    2017.4.13-afternoon
    2017.4.13-morning
    2017.4.12-afternoon
    2017.4.12-morning
    2017.4.11-afternoon
    2017.4.11-morning
    2017.4.10-afternoon
  • 原文地址:https://www.cnblogs.com/jdwy24/p/14082320.html
Copyright © 2011-2022 走看看