<blink>
已弃用: 不再推荐使用该特性。虽然一些浏览器仍然支持它,但也许已从相关的 web 标准中移除,也许正准备移除或出于兼容性而保留。请尽量不要使用该特性,并更新现有的代码;参见本页面底部的兼容性表格以指导你作出决定。请注意,该特性随时可能无法正常工作。
HTML Blink Element (<blink>
) 不是标准元素,它会使包含其中的文本闪烁。
警告: 不要使用这个元素,它已经被淘汰。闪烁字体不符合无障碍标准,CSS 规范允许浏览器忽略闪烁值。
DOM 接口
该元素不被支持,因而实现了HTMLUnknownElement
接口。
示例
<blink>Why would somebody use this?</blink>
结果 (淡化!)
规范
该元素不是标准元素,不属于规范的一部分。不信的话,你自己来看 HTML 规范文档.
浏览器兼容
BCD tables only load in the browser
参见
- History of the creation of the HTML
<blink>
element. text-decoration
, where a blink value exists, though browsers are not required to effectively make it blink.<marquee>
, another similar non-standard element.- CSS animations are the way to go to create such an effect.