You are here: HTML > Weird Tags > <MARQUEE ...>
Attributes for <MARQUEE ...>
WIDTH ="width expression"
HEIGHT =integer
WIDTH and HEIGHT set the dimensions of the marquee. This code creates a marquee that is 200 wide and 50 tall:
<MARQUEe WIDTH=200 HEIGHT=50>
Howdy!
</MARQUEE>
Neither attribute is required. The default value for WIDTH is 100%. The height defaults to the natural height of content as it appears in the width. So, for example, this markup creates a marquee that is 200 wide and as tall as it needs to be:
<MARQUEe WIDTH=200>
Happy Halloween!<BR>
<IMG SRC="graphics/pumpkin.gif" HEIGHT=100 WIDTH=100 ALT="picture of a pumpkin">
</MARQUEE>
<MARQUEE DIRECTION="..."> >>>
|