HTML Marquees

HTML Marquees

In HTML <Marquee> tag is used to scroll elements(image or text) horizontally or vertically.
Or we can say that it scrolls the image or text up, down, left or right automatically.

Syntex

<marquee>This is an example of html marquee </marquee>

Output
This is an example of html marquee

 

Attribute Description
behavior It facilitates user to set the behavior of the marquee to one of the three different types: scroll, slide and alternate.
direction defines direction for scrolling content. It may be left, right, up and down.
width defines width of marquee in pixels or %.
height defines height of marquee in pixels or %.
hspace defines horizontal space in pixels around the marquee.
vspace defines vertical space in pixels around the marquee.
scrolldelay defines scroll delay in seconds.
scrollamount defines scroll amount in number.
loop defines loop for marquee content in number.