Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / web / HTML

HTML Marquee & its alternatives

5.00/5 (3 votes)
8 Feb 2012CPOL 102.2K  
HTML Marquee & its alternatives

Description


A brief look into the HTML Marquee & its alternatives.

Code


Simple example
HTML
<marquee>Test Message</marquee>

Refer Further Reading section for more details about Marquee Tag.

BTW you know how to stop & continue the animation of the Marquee? Check here.
HTML
<marquee onmouseover="this.stop();"  önmouseout="this.start();">Test Message</marquee>

Disadvantages


Well, It's part of the HTML Hell.

  • It's a Bad Tag.
  • Not a standard one.
  • It's an annoying one.
  • Very limited styles

Alternatives


We may use JavaScript(or jQuery) to create alternatives for Marquee. Here are a couple of alternatives.

Further Reading


License

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