HTML Marquees

HTML Marquee used to set a scrolling (vertically or horizontally) text or image. Using <marquee> tag we can set text/images scroll from right to left, left to right, top to bottom, or bottom to top.

Syntax:

Marquee Tag Attributes:

Attribute Value
direction This attribute specifies the direction of scroll. Example – up, down, left or right.
behavior This attribute specifies the type of scrolling. Example- scroll, slid and alternate.
scrolldelay This attribute specifies the interval between each jump.
scrollamount This attribute specifies the amount of jump.
loop This attribute specifies the number of time text/image will scroll.

Examples:

Output:

Your scrolling text