Codes and Examples. I found a javascript code that somehow works in the code, but I am unsure of how to get it to work. It is also extremely easy to useâit works just like any other HTML tag, and you can customize your marquee using attributes such as direction, behavior, and more.. (3) I have been trying to give the marquee effect for the word HELLO in my application but android does not allow the same unless the ⦠The Marquee scrollamount attribute in HTML is used to set the amount of scrolling at each interval in pixels. The marquee tag is used to create a scrolling effect, on text or an image. The tag was first introduced in early versions of Microsoft's Internet Explorer, and was compared to Netscape's blink element, as a proprietary non-standard extension to the HTML standard with usability problems.The W3C advises against its use in HTML documents. CSS Marquee - Marquee is an animation effect for web pages used to create horizontal or vertical scrolling text and images. Vertical Scrolling Take the following HTML code. As everyone knows, If we need something else in scroll form then we utilize this tag. There are 4 directions to scroll the text like left direction, the right direction, top direction, and bottom direction. Specifically, we use JavaScript's setAttribute() method. At first I tried it with a header as the text inside the marquee, but that didn't work either.