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.

Result:

Text slides in, then stops.

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

Scrolling text:

Result:

Text keeps scrolling...

Back and forth:

Result:

Text bounces back and forth.

Text Scrolling Upwards:

Result:

Text scrolls upwards.

Change the Scroll Speed:

Result:

Slow scrolling. Medium scrolling. Fast scrolling.

Images:

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

Result:

smile

© Copyright 2006 - 2024 Code-Generator.net | Privacy Policy