如何解决问题...验证(XHTML 1.1):不支持元素'marquee'。 [英] How to problem solve ... Validation (XHTML 1.1): element 'marquee' is not supported.

查看:75
本文介绍了如何解决问题...验证(XHTML 1.1):不支持元素'marquee'。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用visual studio 10 ....

i几次问题面对下面的消息........



验证(XHTML 1.1):不支持元素'选框'。



我尝试过:



i'm using visual studio 10....
i several time problem face below message........

Validation (XHTML 1.1): Element 'marquee' is not supported.

What I have tried:

<marquee onmouseover="this.stop();" onmouseover="this.start();"> As a medical doctor, it is my duty to evaluate the situation with as much data as I can gather and as much expertise as I have and as much experience as I have to determine whether or not the wish of the patient is medically justified. Writer:Jack Kevorkian </marquee>

推荐答案

检查这个

替代选框 [ ^ ]


这是一个错误还是一个警告?

我怀疑,你的代码应该工作而不是警告。



< marquee>标签不是有效的XHTML标签,这就是您的Visual Studio IDE显示警告消息的原因。


Is that an error or just a warning?
I suspect, your code should work instead of the warning.

The <marquee> tag is not a valid XHTML tag and that's why your Visual Studio IDE showing the warning message.

引用:

已过时

此功能已过时。虽然它可能仍然适用于某些浏览器,但不鼓励使用它,因为它可以随时删除。尽量避免使用它。

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.





<选取框> - HTML | MDN [ ^ ]



您可能想查看使用JQuery的替代解决方案 -

jQuery Marquee支持CSS3 | jQuery插件注册表 [ ^ ]



希望,它有帮助:)



<marquee> - HTML | MDN[^]

You may like to check out alternative solution using JQuery-
jQuery Marquee with CSS3 Support | jQuery Plugin Registry[^]

Hope, it helps :)


这篇关于如何解决问题...验证(XHTML 1.1):不支持元素'marquee'。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆