Click here to Skip to main content
15,069,297 members
Articles / Web Development / HTML
Tip/Trick
Posted 7 Feb 2012

Stats

88.9K views
7 bookmarked

HTML Marquee & its alternatives

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

Share

About the Author

thatraja
Web Developer
India India
No Biography provided

Comments and Discussions

 
GeneralMy vote of 5 Pin
Espen Harlinn6-May-13 11:37
mvaEspen 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.