diff options
Diffstat (limited to 'files/zh-cn/web/html/element/blink/index.html')
| -rw-r--r-- | files/zh-cn/web/html/element/blink/index.html | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/files/zh-cn/web/html/element/blink/index.html b/files/zh-cn/web/html/element/blink/index.html new file mode 100644 index 0000000000..43dffb7fe4 --- /dev/null +++ b/files/zh-cn/web/html/element/blink/index.html @@ -0,0 +1,94 @@ +--- +title: <blink> +slug: Web/HTML/Element/blink +translation_of: Web/HTML/Element/blink +--- +<div>{{Deprecated_header}} {{obsolete_header}}</div> + +<p>HTML Blink Element (<code><blink></code>)不是标准元素,它会使包含其中的文本闪烁。</p> + +<div class="warning"> +<p class="note"><strong>警告:</strong> 不要使用这个元素,它已经被<strong>淘汰</strong>。闪烁字体不符合无障碍标准,CSS规范允许浏览器忽略闪烁值。</p> +</div> + +<h2 id="DOM_接口">DOM 接口</h2> + +<p>该元素不被支持,因而实现了{{domxref("HTMLUnknownElement")}} 接口.</p> + +<h2 id="示例">示例</h2> + +<pre class="brush:html"><blink>Why would somebody use this?</blink> +</pre> + +<h3 id="结果_(淡化!)">结果 (淡化!)</h3> + +<p><img alt="Image:HTMLBlinkElement.gif" src="/@api/deki/files/247/=HTMLBlinkElement.gif"></p> + +<h2 id="规范">规范</h2> + +<p>该元素不是标准元素,不属于规范的一部分. 不信的话,<a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#non-conforming-features"> 你自己来看HTML规范文档</a>.</p> + +<h2 id="浏览器兼容">浏览器兼容</h2> + +<div>{{CompatibilityTable}}</div> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}} [1]</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}} [2]</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Feature</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}} [1]</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}} [2]</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<p>[1] Supported until version 22. Removed in version 23.</p> + +<p>[2] Supported until version 12.1. Removed in version 15.0.</p> + +<h2 id="参见">参见</h2> + +<ul> + <li><a href="http://www.montulli.org/theoriginofthe%3Cblink%3Etag">History of the creation of the HTML <code><blink></code> element</a>.</li> + <li>{{cssxref("text-decoration")}}, where a blink value exists, though browsers are not required to effectively make it blink.</li> + <li>{{htmlelement("marquee")}}, another similar non-standard element.</li> + <li><a href="/en-US/docs/Web/Guide/CSS/Using_CSS_animations" title="/en-US/docs/Web/Guide/CSS/Using_CSS_animations">CSS animations</a> are the way to go to create such an effect.</li> +</ul> + +<p>{{HTMLRef}}</p> |
