HTML元素 - input type=hidden
来源:互联网 发布:windows ftp命令用法 编辑:程序博客网 时间:2024/06/05 09:56
传输关于客户/服务器交互的状态信息。
Transmits state information about client/server interaction.
注释
这种输入类型用户无法控制,但是却在提交表单时发送 value 属性的值。
此元素在 Internet Explorer 3.0 及以上版本的 HTML 和脚本中可用。
此元素不显示。
此元素不需要关闭标签。
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 and script as of Internet Explorer 3.0.
This element is not rendered.
This element does not require a closing tag.
注:INPUT type=hidden 元素不会显示在文档里,所以用户也无法操作该元素。该元素通常用来传输一些客户端到服务器的状态信息。虽然此元素不会显示出来,但是用户可以通过查看 HTML 的源代码看到该元素属性的值,所以请注意,不要用该元素传递敏感信息,比如密码什么的。
Note: The INPUT type=hidden element does not appear visibly in the document and that the user does not interact with. It can be used to transmit state information about the client or server.
Remember that hidden fields can be viewed if your readers look at the source HTML, so don't use it for sensitive information such as passwords.
示例代码
<INPUT TYPE=hidden NAME=recipient VALUE="haha@blabla.cn">
<INPUT TYPE=hidden NAME=subject VALUE="Feedback on your HTML Reference">
- HTML元素 - input type=hidden
- html 中表单元素input type="hidden"的作用
- html 中表单元素input type="hidden"的作用
- 表单元素input type=”hidden”的作用
- HTML元素 - input type=file
- HTML元素 - input type=password
- input type="hidden" 作用
- <input type='hidden'>同时传多个值
- <input type="hidden">的问题
- input type=\"hidden\" 的作用
- HTML input type=file文件选择表单元素 小结
- HTML input type=file文件选择表单元素二三事
- input元素 type=file
- Jquery选择器input:hidden和input[type=hidden]的区别
- input type=hidden name='x'的用法总结
- input type="hidden" 的传值作用
- <form>标签只能作用一个<input type="hidden"/>?
- <input>标签中属性"type=hidden"作用
- Java中的bit、byte、字母、汉字之间的关系
- Uva 11395 - Sigma Function 规律 对数
- MongoDB数据库和架构管理
- 删除cocos2d-x项目模版
- Ruby系列文章之6 ---OS X 10.8.1 系统 HomeBrew的安装和简单使用
- HTML元素 - input type=hidden
- ProEssentials第100例SimpleScientificGraph,使用DLL单文档VC6.0实现
- PasteAsFile-将剪切板中的内容直接粘贴成文件
- flex自定义组件(mxml文件)
- matlab中使用结构体
- Eclipse 中的 代码模板
- Spring应用总结(转载)
- 判断ResultSet是否为空
- eclipse Alt+/ 的配置