Vectorials
Flash Perfection
3D Lessons
Tutorialkit
Markup Tutorials
Learn PHP
network
adv banner
HTML and CSS  Home HTML and CSS Tutorials How to Use Marquees
rss

How to Use Marquees

Author: freewebmastertips More by this author


How to Use MarqueesThis applies to Internet Explorer only, but if done properly, you'll create a great effect without taking anything away from the Netscape user (who will simply see normal, static text). The simplest way to put a marquee on your page is this:

<marquee bgcolor = cornsilk>
Welcome to my realm on the Net!
</marquee>

You will get this:

Note: You can change the background color (yellow) to the color of your choice. Also, pay attention not to use long sentences, and always check how the text looks in Netscape!

If you'd like more control, you can specify the width and height of your marquee:

<marquee width="200" height="23">
Do you like it?
</marquee>

Here's what you'll get:

OK. Many people asked about the bouncing text, so here it is:

<marquee behavior=alternate bgcolor=cornsilk>
All the best from Free Webmaster Tips!
</marquee>

And you'll get this:

I hope this came in useful!



Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "How to Use Marquees"