HTML元素 - input type=hidden
2015-11-14 15:26
435 查看
定义
传输关于客户/服务器交互的状态信息。Transmits state information about client/server interaction.
注释
这种输入类型用户无法控制,但是却在提交表单时发送 value 属性的值。此元素在 Internet Explorer 3.0 及以上版本的 HTML 和脚本中可用。
此元素不显示。
但是却在提交表单时发送 value 属性的值。input。
此元素不需要关闭标签。
This input type presents no control to the user, but sends the value of the value property with the submitted form.
The INPUT type=hidden element is available in HTML
This element is not rendered.
This element does not require a closing tag.
注:INPUT type=hidden 元素不会显示在文档里,所以用户也无法操作该元素。该元素通常用来传输一些客户端到服务器的状态信息。虽然此元素
=submit 此元素不需要关闭标签。此元素不需要关闭标签
Note: The INPUT type=hidden element does not appear visibly in the document and that the user
Remember that hidden fields can be viewed if your readers look at the source HTML, so don't use it f
示例代码
<INPUT TYPE=hidden NAME=recipient VALUE="haha@blabla.cn"><INPUT TYPE=hidden NAME=subject VALUE="Feedback on your HTML Reference">
相关文章推荐
- html meta中的viewport指令
- 【学习笔记】复习html
- HTML textarea 文本区域 外面说明文字垂直居中对齐的问题
- HTML 表单
- HTML RGB 颜色表 16进制表 颜色对应表
- HTML 头标签的 <title> <base> <meta> <link> <script> 的内容意思
- HTML自学基础
- HtmlAgilityPack 处理通配的contains
- 常用html标签
- html
- Ajax 服务器返回html字符串中元素的事件绑定方法
- HTML事件
- 【03】Html书写规范
- c#过滤html标签
- Rotativa 转换html 为pdf时遇到的问题
- Rotativa 转换html 为pdf时遇到的问题
- 如何制作宽屏页面之html简单方法
- HTML布局----div布局&&table
- html 使用表单标签,与用户交互
- html头部