Search code examples
htmlasp.netstandardsmarquee

An alternative to the ancient "marquee" tag?


What is the standard equivalent of the "marquee" tag?

I'm looking for a solution in HTML, C#, asp.NET or ASPX, jquery, java script


Solution

  • The "marquee" tag was not included in the standard because it's a "visual" tag, not a "semantic" tag. As such, none of the languages that you want have an exact equivalent.

    I suggest using Javascript to do animations on your webpage. (I hear that jQuery is a great framework to get started with.)

    Note:

    As someone pointed out in MSO chat, there is actually a jQuery plugin already written to do what you want. See then jQuery marquee plugin. Also, there is this demo from Remy Sharp.