Marquee in Web Design

Blank neon marquee
 Steve Bronstein/Getty Images

The Marquee tag has been deemed obsolete and has been removed from the HTML code specifications. It might still work on many browsers, but it's way better to use CSS for that kind of thing.

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

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

Format
mla apa chicago
Your Citation
Kyrnin, Jennifer. "Marquee in Web Design." ThoughtCo, Jul. 31, 2021, thoughtco.com/marquee-element-3468283. Kyrnin, Jennifer. (2021, July 31). Marquee in Web Design. Retrieved from https://www.thoughtco.com/marquee-element-3468283 Kyrnin, Jennifer. "Marquee in Web Design." ThoughtCo. https://www.thoughtco.com/marquee-element-3468283 (accessed April 25, 2024).