1. Home
  2. Computing & Technology
  3. Web Design / HTML

<marquee></marquee>

By Jennifer Kyrnin, About.com

<marquee> Description:

The <marquee></marquee> tag creates a scrolling text marquee.

This tag is not part of the XHTML specification, but most modern browsers support it.

<marquee> Web Browser Support:

<marquee> Attributes:

<marquee> End Tag:

</marquee> REQUIRED

<marquee> Contents:

Usually any HTML text that you want to specify a style for. The following tags are valid within the <marquee> tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var

<marquee> Valid Context:

The <marquee> tag is valid within the following tags:
a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noframes, noscript, object, p, q, s, samp, small, span, strike, STORNG, sub, sup, td, th, tt, u, var

<marquee> Usage:

  • a simple marquee
    <marquee>This text scrolls</marquee>
  • A delayed marquee
    <marquee scrolldelay="500" width="200">This text scrolls every half second</marquee>

<marquee> Special Notes:

  • Like the blink tag, this tag can be hard for people to read and annoy others.

More <marquee> Information:

Return to XHTML Element (HTML Tags) Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. The marquee Element - scrolling marquee

©2008 About.com, a part of The New York Times Company.

All rights reserved.