• 9.8


    9.8知识小纲


    今天的课堂知识(表单的大概内容)总结如下:

    1、<from></from>代表表单

      代表表单又包括①负责处理的服务端,提交给哪个页面:action

                         ②数据提交的方式:method :⒈get:显示提交,编码后的内容在地址栏可见,提交有长度限制。

                                                                 ⒉post:隐式提交,编码后的内容不可见,无提交长度限制。

    2、文本输入

      ①文本框:<input type="text" name="" id="" value="" />         readonly 为只读标签  disabled 为不可用标签,同时不能提交。

      ②密码框:<input type="password" name="" id="" value"" />

      ③隐藏域:<input type="hidden" name="" id="" value"" />

      ④文本域:<textarea name="" id="" cols=""(字符数量)rows=""(几行高)></textarea> 双标签。

    3、按钮

      ①普通按钮:<input type="button" name="" id="" value="" />

      ②提交按钮:<input type="submit" name="" id="" value="" />

      ③重置按钮:<input type="reset" name="" id="" value="" />

      ④图片按钮:<input type="image" name="" id="" src="图片地址" />

    4、选择输入表单

      ①单选按钮组<input type="redio" name="" checked="checked" value="" /> name值用来分组,相同值为一组,单选。 

      ②复选框组<input type="checkbox" name="" value="" />   redio 和 checkbox 中 checked,作默认选项,可修改。

      ③文件上传<input type="file" name="" id="" />

      ④下拉列表<select name="" id="" size="" multipe="multipe">   size=1时,为菜单、>1时,为列表。 multiple是多选的意思。

                    <option value="值">内容</option>    option也是双标签 

                    <option value="值" selected="selected">内容</option>    selected,用于下拉列表  设选中项。

                    <option value="值">内容</option>

     

    基础知识,编码含义一定要记牢。     加油。

  • 相关阅读:
    Elasticsearch 索引文档如何使用自动生成 Id?
    Spring Boot 缓存 知识点
    table的各种用法
    Spring Boot 整合 Elasticsearch
    Spring Boot 集成 Kafka
    Spring Boot 2实现分布式锁——这才是实现分布式锁的正确姿势!
    Spring Cloud 与 Spring Boot 版本兼容关系
    Spring Boot 之:Spring Boot Admin
    JVM 性能调优工具
    Spring Boot 之:Actuator 监控
  • 原文地址:https://www.cnblogs.com/u1020641/p/5854566.html
Copyright © 2020-2023  润新知