Click here to Skip to main content
15,867,308 members
Articles / Web Development / HTML
Tip/Trick

HTML Marquee & its alternatives

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
8 Feb 2012CPOL 101.2K   7   1
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)


Written By
Team Leader
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 5 Pin
Espen Harlinn6-May-13 11:37
professionalEspen Harlinn6-May-13 11:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.