duration: number: 1: The number of seconds the animation should last. Recommendation You can also use CSS animations to create a marquee. The CSS marquee-direction property determines the initial direction in which the content moves if the marquee effect is used. add your images to marquee scroll, vertical scrolling text marquee, onmouseover pause start marquee HTML CSS JavaScript … A marquee can scroll, slide, or alternate from side to side. However, if you need to add the marquee effect find some alternative ways of doing it below with CSS, JavaScript and jQuery. The basics are easy enough, we start out with a wrapping container and a scrolling child element. There are various properties which define the marquee behavior – how much content is displayed at a time, scroll direction, bidirectional scrolling, dependency on user events, etc. The marquee element provides a way for browsers to render text that moves across the page without having to resort to JavaScript techniques. Click and Hold to Stop Marquee Surprisingly though, the marquee is now making a comeback, not in a tag