HTML Bouncing Text

You can create bouncing text in HTML using <marquee> tags. You can make your text bounce sideways or up and down.

Note: Bouncing text has limited browser support. If you can't see the text bouncing around on this page, it could be that your browser doesn't support this feature of the <marquee> tag.

See CSS Bouncing Text for the CSS version (recommended).

Side to Side

To make your text bounce back and forth, use behavior="alternate". Like this:

Source CodeResult
Here is some bouncing text... side to side

Note that browser support for bouncing marquees is quite limited.

Up & Down

You can make your text bounce up and down too. To do this, just add behavior="alternate" direction="up". Like this:

Source CodeResult
Here is some bouncing text... bouncing up and down.

Changing the Speed

You can speed up your bouncing text - or slow it down if you prefer. To do this, just add the scrollamount attribute. For example, scrollamount="1" results in a very slow bounce, while scrollamount="50" will be very fast.

Some examples:

Source CodeResult
Slow... Fast... Faster... Lightning!

More Marquee Codes

You can do much more with HTML marquees than is covered on this page. Here's the full list of marquee codes on this website:

Marquee Generator

Also check out the Marquee Generator.

Marquee Usability

Try to be careful when using HTML marquees. Many web users dislike websites that contain scrolling or bouncing images and other elements, so try to use them tastefully :)

About was created in order to provide HTML tools, codes, tutorials, and other resources to help webmasters create and maintain their HTML documents. aims primarily at beginners, but may also be useful to web professionals.

About the HTML Codes

The HTML codes on this website are provided free of charge, for you to use however you wish. Feel free to modify the code to suit your own needs.

Need Hosting?

Our partner site ZappyHost provides website hosting, domain names and related products at some of the best prices on the web. If you need web hosting, check them out!