Marquee tag

Marquee tag

The marquee tag is a non-standard HTML markup element type which causes text to scroll up, down, left or right. The tag was first introduced in early versions of Microsoft's Internet Explorer, and was compared to Netscape's blink element, as a proprietary non-standard extension to the HTML standard with usability problems. It is deprecated by the W3C and not advised by them for use in any HTML documents.

Usability problems

Because text within a marquee is not always visible, it violates the basic nature of web pages, which are eminently skimmable Fact|date=August 2008. Users typically glance over a page and decide what, if anything, to read (using headlines, bold text, bullets, etc.), but marquees, like the blink element, hide text at certain points, meaning at any given time, scanning the page may fail (or take longer).

Links within marquees are notoriously difficult to click, and users only get one chance every time it scrolls past. This can easily frustrate users.

Attributes

*Align: Uses the same syntax as the img tag.
*Behavior: Allows the user to set the behavior of the marquee to one of three different types:
**"Scroll" - DEFAULT. Scrolls the text from right-to-left, and restarts at the right side of the marquee when it has reached the left side.
**"Slide" - Deprecated
**"Alternate" - Text 'bounces' from the left side of the box to the right side. This text will bounce from left to right
*Bgcolor: Sets the background color of the marquee. This marquee's background color will be blue.
*Direction: Sets the direction of the marquee box to either left-to-right, right-to-left, up-to-down and down-to-up. Later browsers added support for a movie credit style bottom-up and top-down values. This text will scroll from left to right.
*Height: This sets how tall the marquee should be. The height of this marquee is twenty pixels.
*Width: This sets how wide the marquee should be. This marquee is only a hundred pixels wide!
*Loop: This sets how many times the marquee should 'Loop' its text. You will only see this text twice before it stops playing.
*Scrollamount: This is how many pixels the text moves between 'frames', in pixels. This text will move ten pixels per 'frame'
*Scrolldelay: This sets the amount of time, in milliseconds, between 'frames'. This would be so slow, you'd get no sense of animation. This would be so fast, you couldn't see it!

Compliance

The marquee element type was first invented for Microsoft's Internet Explorer and is still supported. The Mozilla Firefox, Opera, and Safari web browsers support it for legacy page compatibility, although many other browsers do not. The tag is considered unofficial in proper XHTML or HTML. An equivalent for the tag is however being designed for the future releases of Cascading Style Sheets. [ [http://www.w3.org/TR/css3-box/#marquee CSS basic box model ] ] Similar effects can also be achieved through the use of JavaScript on a webpage.

See also

*Blink element
*HTML element
*Non-standard HTML tags

Notes


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Marquee element — An example of an HTML marquee displaying the text Wikipedia HTML HTML and HTML5 Dynamic HTML XHTML XHTML Mobile Profile and C HTML Canvas element Character encodings …   Wikipedia

  • Marquee — may refer to: A large tent, open sided and installed outdoors for temporary functions Marquee , a song by Superchunk from their 1997 album Indoor Living Marquee Cinemas, a movie theater chain in the United States The Marquee Club, commonly called …   Wikipedia

  • Blink element — The blink element is a non standard presentational HTML element that indicates to a user agent (generally a web browser) that the page author intends the content of the element to blink (that is, alternate between being visible and invisible).… …   Wikipedia

  • Mozilla Application Suite — Mozilla 1.7 displaying a page from Polish Wikinews Developer(s) Mozilla Foundation Discontinued …   Wikipedia

  • Roddy Piper — Ring name(s) Rowdy Roddy Piper[1] The Canadian The Masked Canadian[2] …   Wikipedia

  • Formule 1 — Pour les articles homonymes, voir F1. Formule 1 Généralit …   Wikipédia en Français

  • Formula1 — Formule 1 Pour les articles homonymes, voir F1 (homonymie). Formule 1 …   Wikipédia en Français

  • Formula 1 — Formule 1 Pour les articles homonymes, voir F1 (homonymie). Formule 1 …   Wikipédia en Français

  • Formule1 — Formule 1 Pour les articles homonymes, voir F1 (homonymie). Formule 1 …   Wikipédia en Français

  • Formule un — Formule 1 Pour les articles homonymes, voir F1 (homonymie). Formule 1 …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”