marquee

A marquee done as an animated image.
A marquee done as an animated image. Image © J Kyrnin 2012 - licensed to About.com

Definition:

In HTML, a marquee is a small section of the browser window that displays text that rolls across the screen. You use the element to create this scrolling section.

The MARQUEE element was first created by Internet Explorer, and was eventually supported by Chrome, Firefox, Opera, and Safari, but it is not an official part of the HTML specification. If you must create a scrolling section of your page, it's best to use CSS instead. See the examples below for how.

Pronunciation:

mar key – (noun)

Also Known As:

scrolling marquee

Examples:

You can create a marquee in two ways. HTML:

<marquee>This text will scroll across the screen.</marquee>

CSS:

<p style="width: 200px; height: 50px; white-space: nowrap; overflow: hidden; overflow-x:-webkit-marquee; -webkit-marquee-direction: forwards; -webkit-marquee-style: scroll; -webkit-marquee-speed: normal; -webkit-marquee-increment: small; -webkit-marquee-repetition: 5; overflow-x: marquee-line; marquee-direction: forward; marquee-style: scroll; marquee-speed: normal; marquee-play-count: 5;">This text will scroll across the screen.</p>

You can learn more about how to use the various CSS3 marquee properties in the article: Marquee in the Age of HTML5 and CSS3.