You can specify how fast the speed of a marquee should go. Do you know that? Probably not, or probably yes you know, but you have forgotten how to do it. Well if so, this post will help.
To manipulate the speed of a marquee, we use the SCROLLAMOUNT attribute. Do not be fouled by the term 'scroll amount' thinking that it is meant for how many times the marquee should loop. No. the scrollamount attribute of the marquee tag is used to specify how fast or how slow the marquee should go.
Thus the higher the value of the scrollamount the faster it goes, while the lower the value of the scrollamount attribute signifies the slowness of the marquee.
The scrollamount attribute Value is specified using numbers where 0 is the lowest and 100 the highest.
This is how the code will look like.
The Code:
<marquee behavior="scroll" direction="left" scrollamount="12" >
<div width="400px"> The scrollamount is what is used to specify how fast I should go.
</div>
</marquee>
Also Read:
To manipulate the speed of a marquee, we use the SCROLLAMOUNT attribute. Do not be fouled by the term 'scroll amount' thinking that it is meant for how many times the marquee should loop. No. the scrollamount attribute of the marquee tag is used to specify how fast or how slow the marquee should go.
Thus the higher the value of the scrollamount the faster it goes, while the lower the value of the scrollamount attribute signifies the slowness of the marquee.
The scrollamount attribute Value is specified using numbers where 0 is the lowest and 100 the highest.
This is how the code will look like.
The Code:
<marquee behavior="scroll" direction="left" scrollamount="12" >
<div width="400px"> The scrollamount is what is used to specify how fast I should go.
</div>
</marquee>
Also Read:
- Creating Auto Scrolling Element Using HTML
- Read Your MS Word 2016 Document More Conveniently With Auto Scroll Command
- The Code/HTML Entities For Adding Three Dot/Ellipsis "..." To Words (Tips To Website Developers)
- Adding Multiple Space When Coding A WebPage
- Dotted/Dashed Border-Radiused Corners Are No Longer Rendered As Solid In Firefox
Team +Pinfoltd
0 comments: