Idocs Guide to HTML

<MARQUEE ...>

Usage Recommendation
use it, but don't rely on it

 

<MARQUEE ...> creates a scrolling display. <MARQUEE ...> is an MSIE extension and will probably never be supported by any other browser. <MARQUEE ...> is often regarded as one of the "evil" tags, and that perception alone might be enough reason to not use it. However, used lightly and with taste (and understanding that it will never render everywhere), <MARQUEE ...> isn't such a bad tag. It can work well for announcements.

The basic use of <MARQUEE ...> is simple. Put most any kind of markup between <MARQUEE ...> and </MARQUEE>.

<MARQUEE>
Hi There! <IMG SRC="graphics/idocs.gif" HEIGHT=33 WIDTH=82 ALT="Idocs Guide to HTML">
</MARQUEE>

Hi There! Idocs Guide to HTML

<MARQUEE ...> is a text level element. By default <MARQUEE ...> has a WIDTH of 100%, so it might appear as a block level. However, if you set the width to something smaller than 100%, you might notice that the marquee is in line with the surrounding text.

<MARQUEE WIDTH="20%">
Hi There! <IMG SRC="graphics/idocs.gif" HEIGHT=33 WIDTH=82 ALT="Idocs Guide to HTML">
</MARQUEE>

This is stuff before the marquee Hi There! Idocs Guide to HTML And this is stuff after it. Is it inline?

The content of <MARQUEE ...> does not start scrolling until the <MARQUEE ...> element becomes visible.

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.