marquee implements scrolling effect (creates rolling text subtitles)
1.marquee supported attributes:
(1).behavior sets scrolling method:
< marquee behavior="alternate">I scroll back and forth
(2).direction sets the scrolling direction:
(3). Set the number of scrolls:
I will keep scrolling
I will only scroll 2 times
2.marquee Commonly used events:
Scroll when the mouse moves out
Mouse Stop scrolling when moving in
The above is the detailed content of Summarize the usage examples of marquee tag. For more information, please follow other related articles on the PHP Chinese website!
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn