Bouncing Text
There are two easy ways to add bouncing text to a web page (without using JavaScript). These are:
- HTML Bouncing Text — using the HTML
<marquee>
tag - CSS Bouncing Text — using the CSS animations
HTML Bouncing Text
This method uses the (non-standard) HTML <marquee>
tag to create the bouncing text effect.
See HTML Bouncing Text for more examples.
Source Code | Result |
---|---|
CSS Bouncing Text
This method uses CSS animations to create bouncing text. This is the recommended method.
See CSS Bouncing Text for more examples.
Source Code | Result |
---|---|
Horizontal bounce... |
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 :)