Home >Web Front-end >HTML Tutorial >HTML Marquee character fragment scrolling_HTML/Xhtml_web page production
The following attributes:
direction
Set the scrolling direction of active subtitles
The code is as follows:
behavior
Set the scrolling method:
alternate: expressed at both ends Scroll back and forth between.
scroll: means scrolling from one end to the other, and will be repeated.
slide: means scrolling from one end to the other without repetition.
The code is as follows:
scrollamount
Set the scrolling speed of active subtitles in pixels
The code is as follows:
scrolldelay
Set the delay time between active subtitles scrolling twice, unit millisecond (millisecond)
A larger value will have the effect of one step and one pause
The code is as follows: