• Teach Your Self With
             w3htmlschool.com

HTML Marquee Tag

HTML Marquee tag used for scrolling text,image in the web page. A marquee can either left or right align .
Example
Example Output
Marquee tag Attributes


ALIGN

TOP/MIDDLE/BOTTOM specifies the text around the marquee should align with the TOP,MIDDLE,BOTTOM of the marquee.

BEHAVIOR

This can be set to SCROLL,SLIDE or ALTERNATE.

BGCOLOR

This specifies a backgound color for the marquee.

DIRECTION

This specifies the direction in which the text will scroll. The default direction is LEFT.

HEIGHT

This specifies the height of the marquee.

WIDTH

This specifies the width of the marquee.

LOOP

This attribute set the number of time marquee will loop when activated .

SCROLLAMOUNT

This specifes the number of pixels between each successive draw of the marquee text,that is the pixels for the text to move between each draw.

SCROLLDELAY

This specifies the number of milisecound between each successive draw of the marquee text. This attribute controls the speed at which the text is drawn.