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

    1.<form>定义了一个表单。表单中的输入控件必须包含在form元素的标记对内。

    2.<from action=“表单处理程序的url” method=“get|post”>

    3.<from>属性,元素设定同时使用name和id属性。

    4.input:使用type定义不同的控件,文本、口令、复选框、单选框、提交、重置、隐藏域、图像。

    5.select和option:组合使用,创建下拉列表。

    6.多行输入文本框:textarea

    7.文本框:<input type=“text” value=“文本” size=“” maxlenth=“”>(placeholder=“”)

    8.加密:<input type=“password”> (disabled)

    9.按钮:<input type=“button” value=“按钮”/>

    10.重置:<input type=“reset” value=“重置”>

    11.提交:<input type=“submit” value=“提交”>

    12.多选:<input type=“checkbox” >

    13.选择文件:<input type=“file” >

    14.单选:文本<input type=“radio” name=“”>

    15.日期:<input type=“data” />

                 <input type=“datatime”>

                  <input type=“datatime-local”>

  • 相关阅读:
    修改spring boot 启动logo
    查看jvm常用命令
    intellij IDEA破解
    hdu 新生晚会
    How many prime numbers(素数)
    2077 汉诺塔IV
    Factorial
    双人黑白块
    EasyX
    七夕情人节
  • 原文地址:https://www.cnblogs.com/paul-du/p/5277717.html
Copyright © 2011-2022 走看看