The Marquee HTML tag is a non-standard HTML element which is used to scroll a image or text horizontally or vertically.
In simple words, you can say that it scrolls the image or text up, down, left or right automatically.
Marquee tag was first introduced in early versions of Microsoft's Internet Explorer. It is compared with Netscape's blink element.
Marquee HTML ExampleTest it Now
HTML Marquee Attributes
Marquee's element contains several attributes that are used to control and adjust the appearance of the marquee.
HTML Scroll Marquee
It is a by default property. It is used to scroll the text from right to left, and restarts at the right side of the marquee when it is reached to the end of left side. After the completion of loop text disappears.Test it Now
HTML Slide Marquee
In slide marquee, all the contents to be scrolled will slide the entire length of marquee but stops at the end to display the content permanently.Test it Now
HTML Alternate Marquee
It scrolls the text from right to left and goes back left to right.Test it Now
Direction in HTML marquee
This is used to change the direction of scrolling text. Let's take an example of marquee scrolling to the right. The direction can be left, right, up and down.Test it Now
Nested marquee exampleTest it Now
Disadvantages HTML marquee
1) Marquee may be distracting because human eyes are attracted towards movement and marquee text constantly.
2) Since Marquee text moves, so it is more difficult to click static text, depending on the scrolling speed.
3) It is a non-standard HTML element.
4) It draws user's attention needlessly and makes the text harder to read.