我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.
Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
The HTML Blink Element (<blink>
) is a non-standard element causing the enclosed text to flash slowly.
Warning: Do not use this element as it is non-standard and deprecated. Blinking text is frowned upon by several accessibility standards and the CSS specification allows browsers to ignore the blink value.
DOM interface
This element is unsupported and thus implements the HTMLUnknownElement
interface.
Example
<blink>Why would somebody use this?</blink>
Result (toned down!)
Specification
This element is non-standard and not part of any specification. If you don't believe us, see for yourself in the HTML spec.
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | No support | No support [1] | No support | No support [2] | No support |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | No support | No support [1] | No support | No support [2] | No support |
[1] Supported until version 22. Removed in version 23.
[2] Supported until version 12.1. Removed in version 15.0.
See also
- 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.