You are on page 1of 3

• HTML Marquee Code

• You can create a scrolling marquee (i.e. scrolling text or


scrolling images) by using the <marquee> tag.
• You can make the text/images scroll from right to left,
left to right, top to bottom, or bottom to top
• ALTERNATE
• Example code:
• <FONT SIZE="4" FACE="courier"
COLOR=blue><MARQUEE WIDTH=100%
BEHAVIOR=ALTERNATE BGColor=yellow>This is an
example of an alternating
marquee...</MARQUEE></FONT>
• SCROLL
• Example code:
• <FONT SIZE="4" FACE="courier"
COLOR=blue><MARQUEE WIDTH=100%
BEHAVIOR=SCROLL BGColor=yellow LOOP=3>This is an
example of a scrolling marquee...</MARQUEE></FONT>
• SLIDE
• Example code:
• <FONT SIZE="4" FACE="courier"
COLOR=blue><MARQUEE WIDTH=100%
BEHAVIOR=SLIDE BGColor=yellow>This is an example of a
sliding marquee...</MARQUEE></FONT>
• DIRECTION
• Example code:
• <FONT SIZE="4" FACE="courier" COLOR=blue><MARQUEE
WIDTH=100% BEHAVIOR=SCROLL DIRECTION=RIGHT
BGColor=yellow>This is an example of a marquee scrolling
to the right...</MARQUEE></FONT>
• HEIGHT / WIDTH
• Example code:
• <FONT SIZE="4" FACE="courier" COLOR=blue><MARQUEE
BEHAVIOR=SCROLL HEIGHT=25 WIDTH=300
BGColor=yellow>This is an example of a scrolling
marquee</MARQUEE></FONT>

You might also like