Attributes for <MARQUEE ...>
HSPACE = integer
VSPACE = integer
HSPACE
sets the horizontal space to the left and right of the marquee.
VSPACE
sets the vertical space at the top and bottom of the marquee.
HSPACE
has no effect unless you also use the HSPACE
attribute. These three code examples show the default value of HSPACE
(which is 0) and two larger values:
<MARQUEE WIDTH="25%" BGCOLOR=YELLOW>
Howdy there!<P>
Good to see ya!
</MARQUEE>Hi There!
<MARQUEE HSPACE=10 WIDTH="25%" BGCOLOR=YELLOW>
Howdy there!<P>
Good to see ya!
</MARQUEE>Hi There!
<MARQUEE HSPACE=50 WIDTH="25%" BGCOLOR=YELLOW>
Howdy there!<P>
Good to see ya!
</MARQUEE>Hi There!
which give us these marquees:
Hi There!
Hi There!
Hi There!
VSPACE
sets the space between the marquee and text before and after. These code examples show the default value of VSPACE
(also 0) and two larger values:
Hello.
<MARQUEE BGCOLOR=YELLOW>
Howdy there!
</MARQUEE>
Hi There!
Hello.
<MARQUEE VSPACE=10 BGCOLOR=YELLOW>
Howdy there!
</MARQUEE>
Hi There!
Hello.
<MARQUEE VSPACE=50 BGCOLOR=YELLOW>
Howdy there!</MARQUEE>
Hi There!
which gives us these marquees:
Hello.
Hi There!
Hello.
Hi There!
Hello.
Hi There!