Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials How to Use Marquees
Your Ad Here

How to Use Marquees


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!



Author's URL: freewebmastertips
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

HTML is Hyper Text Markup Language that is used to make hypermedia and hypertext documents for the Web. More HTML and CSS: Most Popular Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

Add comments to "How to Use Marquees"

Only registered users can write comment

Reader's comments