![]() |
The Marquee scrollDelay Property in HTML DOM is used to set or return the value of the scrolldelay attribute of the <marquee> element. The scrolldelay attribute is used to specify the millisecond gap between each scroll movement. It has a default value which is 85. Syntax: It returns a Marquee scrollDelay property. marqueeObject.scrollDelay; It is used to set a Marquee scrollDelay Property. marqueeObject.scrollDelay = "numbers"; Note: This property is depreciated from HTML 5. Property Values: It contains a numeric value that determines the speed of the marquee. Note: If the value less than 60 is not acceptable unless true speed is specified. Example: Below program returns the DOM Marquee scrollDelay Property. HTML
Output: ![]() HTML DOM Marquee scrollDelay Property Supported Browsers:
|
Reffered: https://www.geeksforgeeks.org
HTML |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 12 |