What is the equivalent of <marquee> tag in HTML5?
By css animation you can do the same thing
.holder { background:#ccc; padding:0.5rem; overflow: hidden;}.news { animation : slide 10s linear infinite; }
@keyframes slide { 0% { transform: translatex(0%) }
100% { transform: translatex(100%) }}
<div class="holder"> <div class="news">Hello....</div></div>
Html marquee tag
It has been deprecated. You'll probably have to use javascript, implementing it with a jQuery UI effect should be straightforward. Check out this demo, I think this is what you are after:
http://remysharp.com/2008/09/10/the-silky-smooth-marquee/
Javascript Marquee to replace <marquee> tags
Here is a jQuery plugin with a lot of features:
http://jscroller2.markusbordihn.de/example/image-scroller-windiv/
And this one is "silky smooth"
http://remysharp.com/2008/09/10/the-silky-smooth-marquee/
Related Topics
Replace HTML Page With Contents Retrieved Via Ajax
Uncaught Error: Security_Err: Dom Exception 18 When I Try to Set a Cookie
Benefits of Loading Js At the Bottom as Opposed to the Top of the Document
JavaScript Dom: Find Element Index in Container
Get Iframe'S Document, from JavaScript in Main Document
How to Save a Base64 Image to User'S Disk Using JavaScript
Force Dom Redraw/Refresh on Chrome/Mac
Add Active Navigation Class Based on Url
Modifying CSS Class Property Values on the Fly With JavaScript/Jquery
Getcurrentposition() and Watchposition() Are Deprecated on Insecure Origins
How to Start Automatic Download of a File in Internet Explorer
Es6 Modules in the Browser: Uncaught Syntaxerror: Unexpected Token Import
JavaScript At Bottom/Top of Web Page
How to Get the Onclick Calling Object
Add Svg Element to Existing Svg Using Dom