HTML Marquees

In this tutorial you will learn about the HTML Marquees and its application with practical example.

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.

Table Of Contents

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

In this tutorial we have learn about the HTML Marquees and its application with practical example. I hope you will like this tutorial.