选取框标签仍然有效,可以使用它吗? [英] marquee tag still works, is it okay to use it?
问题描述
我尝试了古老的古董标签,但它仍然有效。是否可以使用它?
< html>
< head>
< title>
< / title>
< / head>
< body>
< marquee>
< h1> Hello< / h1>
< / marquee>
< / body>
< / html>
不要使用<根据 >维基百科
marquee标记是一个非标准的HTML元素,它使文本以
向上滚动,向下滚动,自动向左或向右。这个标签在微软Internet Explorer的早期版本中首先引入了
,与Netscape的blink元素相比,它是
,是HTML标准的专有非标准
扩展,带有可用性问题。它是由W3C弃用的
,并不建议它们用于任何HTML
文档。
Possible Duplicate:
Is it acceptable to use the marquee element in HTML?
I tried, the old ancient marquee tag, and it still works. Is it okay to use it?
<html>
<head>
<title>
</title>
</head>
<body>
<marquee>
<h1>Hello</h1>
</marquee>
</body>
</html>
Do not use <marquee>
According to Wikipedia
The marquee tag is a non-standard HTML element which causes text to scroll up, down, left or right automatically. The tag was first introduced in early versions of Microsoft's Internet Explorer, and was compared to Netscape's blink element, as a proprietary non-standard extension to the HTML standard with usability problems. It is deprecated by the W3C and not advised by them for use in any HTML documents.
这篇关于选取框标签仍然有效,可以使用它吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!