Click here to Skip to main content
15,894,180 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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:

C#
<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>
Posted

 
Share this answer
 
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.

Quote:
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.


<marquee> - HTML | MDN[^]

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

Hope, it helps :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900