65.9K
CodeProject is changing. Read more.
Home

HTML Marquee & its alternatives

starIconstarIconstarIconstarIconstarIcon

5.00/5 (3 votes)

Feb 7, 2012

CPOL
viewsIcon

102220

HTML Marquee & its alternatives

Description

A brief look into the HTML Marquee & its alternatives.

Code

Simple example
<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.
<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