You are here: Reference > HTML > tags > marquee

marquee element

Browser support:
Specifies a scrolling text marquee.
The marquee tag is not a standard HTML element. It indicates a text scrolling in any direction.
If you want to see the HTML tags by categories, please visit this page.
This element requires a closing tag.
JavaScript page for this element: marquee.

Possible members:

Attributes
Events
Styles
Pseudos
accessKey
Sets an access key to an element.
align
Sets the horizontal alignment of an object relative to its parent.
behavior
Sets the movement of text across the marquee element.
bgColor
Sets the background color.
class
Sets the style class or classes that belong to the element.
contentEditable
3
Sets whether the contents of the object are editable.
dataFld
Specifies which field of a given data source should be bound to the specified object.
dataFormatAs
Specifies how data is to be rendered.
dataSrc
Sets the identifier of the data source that is bound to the element.
dir
Sets the text direction as related to the lang attribute.
direction
Specifies in which direction the marquee should scroll.
DISABLED
Sets the state of an object for user interaction.
draggable
3.55
Sets whether an element is draggable.
height
Specifies the height of an element.
HIDEFOCUS
Specifies whether a dotted rectangle (focus rectangle) is drawn around an object while it has focus.
hSpace
Specifies the number of pixels to use as a margin at the left and right sides of the object.
id
Sets a unique identifier for the object.
lang
Specifies the language of the element.
language
Sets the scripting language for the current element. Use it only for the script element.
loop
Specifies the number of times a marquee is to be played.
name
Sets the name of an element.
scrollAmount
Sets the width in pixels between successive displays of the scrolling text in a marquee.
scrollDelay
Specifies the time delay between successive displays of the text in a marquee element in milliseconds.
style
Sets an inline style associated with an element.
tabIndex
Specifies the tabbing order for keyboard navigation using the TAB key.
title
Specifies a tooltip for an element.
TRUESPEED
Sets whether the value of the scrollDelay attribute should be taken as an exact value or not.
unSelectable
Sets whether the selection process can start in an element's content.
vSpace
Specifies the number of pixels to use as a margin at the top and bottom sides of an object.
width
Specifies the default width of the element.

Example HTML code 1:

This example illustrates the use of the marquee element:
<marquee style="width:200px;" direction="down">Hi There (down)!</marquee>
<marquee style="width:200px;" direction="right">Hi There (right)!</marquee>
Did you find this example helpful? yes no

External links:

User Contributed Comments

Post Content

Post Content