form表单

form表单

form 中method get获取属性  post 正常只能提交到自己的服务器

input text文本

input password 多用于密码格式

input checkbox  复选框

input number 用于选择数字

input button 按钮

input reset 重置

date 属性日期 

input 和label 一起使用 label中写入for所用的名字和input的id名相同 可以在点中字的时候选中框

file可上传文件

form 1、用来提交数据

         2、提交数据{

                              数据提交路径 action="url"

                              数据名称(name)

                              数据的值(value)

                               }

 

posted @ 2018-12-21 08:50  我想静静i  阅读(93)  评论(0编辑  收藏  举报