<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>
<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
And this is stuff after it. Is it inline?
The content of <MARQUEE ...> does not start scrolling until the <MARQUEE ...> element becomes visible.
|