Event Handlers
Event Handler | Description |
---|---|
onbounce | Triggered when a scrolling <marquee> reaches the end, exclusive to ‘alternate’ behavior. |
onfinish | Activates when the <marquee> completes scrolling loops specified by the ‘loop’ attribute. |
onstart | Fired at the initiation of scrolling for the HTML <marquee> tag. |
HTML Tag
The <marquee> tag in HTML creates a scrolling text or image effect within a webpage. It allows content to move horizontally or vertically across the screen, providing a simple way to add dynamic movement to elements. It includes attributes like direction to specify whether the content moves left, right, up, or down.
Note: This tag is deprecated from HTML5.