[html5]记一些html5的东西
来源:互联网 发布:seo关键词优化怎么做 编辑:程序博客网 时间:2024/06/04 19:32
1级标题代表标签
2级标题代表属性
input
form
这里是MDN上面的解释
The form element that the input element is associated with (its form owner). The value of the attribute must be an id of a element in the same document. If this attribute is not specified, this element must be a descendant of a element. This attribute enables you to place elements anywhere within a document, not just as descendants of their form elements.
一般input标签都是放在form标签里面去提交的,但现在,允许将input标签放在任何地方,只要给input设置form属性,值为form标签的id值。
例如这样:
<form id="form" action="/"> <button>submit</button></form><input form="form" type="hidden" name="id" value="001">
这样点击submit按钮后,就会自动带上 id=001 这个参数了
0 0
- [html5]记一些html5的东西
- 关于HTML5的一些东西
- 一些HTML5的东西(DOM相关)
- 一些HTML5的东西(JS相关)
- HTML5的一些资料
- 一些html5 的资源
- HTML5的一些问题
- html5的一些元素
- HTML5 Canvas荷载阶段的一些介绍,比较有难度的东西!
- 谈下html5里面p标签的一些见解,呵呵,不是很深奥的东西
- HTML5.1 里的新东西
- HTML5.1 里的新东西
- ol和ul列表标签——HTML5一些比较基础的东西
- html5的一些新特性
- 关于HTML5的一些想法
- 关于html5的一些介绍
- html5的一些新特征
- html5 支持的一些功能
- Objective-C之run loop详解
- Android之焦点小应用
- Unix系统命令
- LINQ的OrderBy有多个字段 (List)
- 设计模式_单例模式
- [html5]记一些html5的东西
- 信号量与互斥锁
- Android startActivityForResult与singleTask
- 百度社区超级版主讲解Dedecms网站移动化seo
- remap的困惑说明
- EF模式下数据库的表一定要设置主键
- 关于java.net.UnknownHostException: Unable to resolve host "xx": No address associated with hostname
- Shell脚本编程学习笔记
- com编程快速入门