directory search
Attributes accesskey (attribute) class (attribute) contenteditable (attribute) contextmenu (attribute) data-* (attribute) dir (attribute) draggable (attribute) dropzone (attribute) Global attributes hidden (attribute) id (attribute) itemid (attribute) itemprop (attribute) itemref (attribute) itemscope (attribute) itemtype (attribute) lang (attribute) slot (attribute) spellcheck (attribute) style (attribute) tabindex (attribute) title (attribute) translate (attribute) Elements a abbr address area article aside audio b base bdi bdo blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 head header hr html i iframe img input input type="button" input type="checkbox" input type="color" input type="date" input type="datetime"-local input type="email" input type="file" input type="hidden" input type="image" input type="month" input type="number" input type="password" input type="radio" input type="range" input type="reset" input type="search" input type="submit" input type="tel" input type="text" input type="time" input type="url" input type="week" ins kbd label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt rtc ruby s samp script section select slot small source span strong style sub summary sup table tbody td template textarea tfoot th thead time title tr track u ul var video wbr Miscellaneous Attributes Block-level elements CORS enabled image CORS settings attributes Element Inline elements Kinds of HTML content Link types Microdata Optimizing your pages for speculative parsing Preloading content Reference Supported media formats Using the application cache Obsolete acronym applet basefont big blink center command content dir element font frame frameset hgroup image input type="datetime" isindex keygen listing marquee nextid noframes plaintext strike tt xmp
characters

已废弃

该特性已经从 Web 标准中删除,虽然一些浏览器目前仍然支持它,但也许会在未来的某个时间停止支持,请尽量不要使用该特性。

已废弃

此功能已过时。虽然它可能在某些浏览器中仍然有效,但由于可以在任何时候删除它,所以不鼓励使用它。尽量避免使用。

HTML Blink Element (<blink>)不是标准元素,它会使包含其中的文本闪烁。

不要使用这个元素,它已经被淘汰。闪烁字体不符合无障碍标准,CSS规范允许浏览器忽略闪烁值。

DOM 接口

该元素不被支持,因而实现了HTMLUnknownElement接口.

示例

<blink>Why would somebody use this?</blink>

结果 (淡化!)

规范

该元素不是标准元素,不属于规范的一部分. 不信的话, 你自己来看HTML规范文档.

CSS Polyfill

如果你真的需要一个polyfill,那么你可以使用下面的CSSPolyfill。适用于IE10 +。

blink {    -webkit-animation: 2s linear infinite condemned_blink_effect; // for android
    animation: 2s linear infinite condemned_blink_effect;}@-webkit-keyframes condemned_blink_effect { // for android    0% {
        visibility: hidden;    }    50% {
        visibility: hidden;    }    100% {
        visibility: visible;    }}@keyframes condemned_blink_effect {    0% {
        visibility: hidden;    }    50% {
        visibility: hidden;    }    100% {
        visibility: visible;    }}

浏览器兼容性

Feature

Chrome

Edge

Firefox

Internet Explorer

Opera

Safari

Basic Support

No

No

1 — 22

No

1 — 15

No

Feature

Android

Chrome for Android

Edge mobile

Firefox for Android

IE mobile

Opera Android

iOS Safari

Basic Support

No

No

No

1 — 22

No

1 — 15

No

Previous article: Next article: