asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > MARQUEE Element

<MARQUEE Element | MARQUEE Object


Creates a scrolling text marquee.HTML 5

HTML Syntax

Remarks

The width of the MARQUEE object defaults to 100 percent. When a MARQUEE is in a TD that does not specify a width, you should explicitly set the width of MARQUEE. If neither the MARQUEE nor the TD has a width specified, the marquee will be collapsed to a 1-pixel width.

When a MARQUEE object is scrolling vertically its scrollLeft property is set to zero, and when it is scrolling horizonally, its scrollTop property is set to zero, overriding any script setting.

NOTE: Both start and end tags are required.

NOTE: This element has been deprecated and is no longer recommended.

Attributes

The <marquee> element has no attribute of its own, but supports global attributes common to all HTML elements.

Example

The MARQUEE in this example will scroll from left to right across the screen. It will move 10 pixels every 100 milliseconds.

<marquee direction=right behavior=scroll scrollamount=10 scrolldelay=100>
   <h3>This is a scrolling marquee<h3>.
</marquee>

This is a scrolling marquee.




Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note