When writing in HTML, the tag is a block element used to designate an area containing scrolling text or a scrolling image. This area is in a line by default, but can be changed to a box utilizing attributes. The following sections contain information about this tag, including examples of it in use, and related attributes and browser compatibility.

Example scrolling text code

This sentence should scroll from right to left. This sentence should scroll from top to bottom.

Example scrolling text result

Example scrolling image code

Home

Example scrolling image result

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows all of the current unique HTML attributes for the tag, and a description of each.

  • Example scrolling text code
  • Example scrolling text result
  • Example scrolling image code
  • Example scrolling image result
  • Attributes
  • Compatibility
  • Related information

Compatibility

Browser, Compatibility, Container tag, Marquee, Scroll, Web design terms

  • HTML and web design help and support.