An important note about the HTML marquee tag is that it was an extension created solely for Microsoft® Internet Explorer®, without any notification to the consortium that maintains and regulates the HTML language standard. This meant the marquee feature originally would only render on one browser and had no formal standard for other browsers to implement. Most web browsers eventually implemented support for the marquee tag, mostly for compliance with existing web sites. The marquee tag officially is depreciated under the HTML language standard, however, its continued support is not guaranteed, and its continued use is discouraged.
Within a web page, the HTML marquee tag can be used to enclose some text, an image or another HTML element so the element will visibly move or scroll across a page. The default behavior is for the element to move from a non-visible position beyond the right edge of the frame to the left, and then out of view beyond the left edge of the frame. Without any other definitions, the marquee element will continually scroll in this manner for as long as the website is viewed.
Several properties can be defined to better control the behavior of an HTML marquee. The direction of the HTML marquee can be changed so objects will scroll vertically. The speed of the movement can be defined in milliseconds so the elements will move faster or slower. Most importantly, the default behavior of scrolling to and from non-visible locations can be changed so the text always appears within its scrolling area. A specific number of cycles, or loops, also can be defined so the text will only travel across the screen a certain number of times before stopping and becoming static.