The <marquee> tag can be used to create scrolling text or images. Attributes like BEHAVIOR, DIRECTION, HEIGHT, WIDTH control how the content scrolls, such as from right to left or in an alternating fashion. Examples are provided demonstrating how to code marquees with different behaviors and attributes.
The <marquee> tag can be used to create scrolling text or images. Attributes like BEHAVIOR, DIRECTION, HEIGHT, WIDTH control how the content scrolls, such as from right to left or in an alternating fashion. Examples are provided demonstrating how to code marquees with different behaviors and attributes.
The <marquee> tag can be used to create scrolling text or images. Attributes like BEHAVIOR, DIRECTION, HEIGHT, WIDTH control how the content scrolls, such as from right to left or in an alternating fashion. Examples are provided demonstrating how to code marquees with different behaviors and attributes.
• 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>