What is a Marquee Tag in HTML
What is a Marquee Tag in HTML?
We can say that an HTML marquee is a scrolling piece of text displayed either horizontally across or vertically down on a webpage. It is created by using the marquee tag.
Attribute | Description |
---|---|
width |
It specifies width of marquee. |
height |
It specifies height of marquee. |
direction |
It specifies direction in which marquee should scroll like up, down, left or right. |
behavior |
It specifies type of scrolling of marquee like scroll, slide and alternate. |
scrolldelay |
It specifies how long to delay between each jump. |
scrollamount |
It specifies speed of marquee text. |
loop |
It specifies how many times to loop. Its default value is INFINITE. |
bgcolor |
It specifies background color in terms of color name or color hex value. |
hspace |
It specifies horizontal space around marquee. |
vspace |
It specifies vertical space around marquee. |