Marquee is a special effect that is used to move or scroll the content horizontally across and vertically down in our HTML web pages. The marquee tag is used to display the text scrolling and animation in the HTML web pages. Specifically, we use JavaScript's setAttribute() method. HTML marquee tag is used to move the text/image from right to left, left to right, up to down and down to up.
scroll amount controls the speed of text: if the value is high, then the scrolling speed also becomes high.