In HTML, marquees are elements that allow other HTML elements to scroll across the page. Actually, marquees allow you to do much more than just scroll across the page. For example, you can create bouncing text, slide-in images, fast and/or slow marquees, and much more.
This page contains marquees. Feel free to copy and paste the marquees into your own website, blog, MySpace page, or other HTML document. And feel free to modify the code as you wish.
Also, please consider keeping the link back to this website - if you do it will be very much appreciated!
Basic Marquee Code
The following example demonstrates what the basic HTML marquee code does. Themarquee tag allows stuff (i.e. text, images, etc) to scroll across the page.Using
behavior="scroll" sets the marquee to scroll continuously - that is, every time the text has scrolled all the way across, it starts again. It's basically in a loop. We set its direction using the direction.This HTML marquee is scrolling from right to left. Although this tends to be the default, you can specify
direction="left" in the HTML code.| Source Code | Result |
|---|---|
| Your left scrolling marquee text goes here |