HTML Marquee Codes

You can create scolling text (or anything else for that matter) by using the <marquee> tag. This tag isn't part of the official HTML specification, but the code does work on many popular browsers (including Internet Explorer and Firefox).

If you can't view the examples on this page, or if they don't work as expected, your browser probably doesn't recognise the <marquee> tag. If that's the case, try using Internet Explorer or Firefox.

Slide-in text:

This text slides in from the left, then stays where it is. You will need to refresh this page to see the effect again.


Text slides in, then stops.

Note: Some browsers (such as Firefox) might not render this properly - the text keeps scrolling.

Scrolling text:


Text keeps scrolling...

Back and forth:


Text bounces back and forth.

Text Scrolling Upwards:


Text scrolls upwards.

Change the Scroll Speed:


Slow scrolling. Medium scrolling. Fast scrolling.


After your paste this code into your web page, replace the /images/smile.gif with the location of your own image.



© Copyright 2006 - 2024 | Privacy Policy