首页 > 编程知识 正文

html隐藏字段,隐藏html标签

时间:2023-05-05 20:38:37 阅读:223216 作者:4185

html隐藏属性

描述 (Description)

Using the hidden attribute (set to “true”), it is possible to hide any visual element that may otherwise appear with the embedded content. Typically it may be used for audio content whereby not including the attribute would result in the transport controls (play, pause, etc) being visible underneath the audio.

使用hidden属性(设置为“ true”),可以隐藏任何可能随嵌入内容一起出现的视觉元素。 通常,它可用于音频内容,其中不包括属性将导致在音频下方可见传输控件(播放,暂停等)。

例 (Example)

The hidden attribute set to "true" to hide the transport control on some audio:

hidden属性设置为"true"以隐藏某些音频上的传输控件:

<embed src="Crash.wav" hidden="true"></embed> 值 (Value)

“true” or “false” only.

仅“ true ”或“ false ”。

翻译自: https://www.sitepoint.com/hidden-html-attribute/

html隐藏属性

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。