This element allows an area of text to be scrolled in different ways, either direction, speed, etc. There is no limit and image display in marquee style. Hide or show elements in HTML using display property, LogRecord setResourceBundle() method in Java with Examples. HTML tag use to create a scrolling text or scrolling image from left to right, right to left, top to bottom, bottom to top. Using behavior="scroll" sets the marquee to scroll continuously - that is, every time the text has scrolled all the way across, it starts again. bgcolor: rgb(x,x,x) #xxxxxx colorname: Is used to give a background color. The code will also parse the marquee attributes like direction, scrolldelay and scrollamount. How to set the default value for an HTML