I scroll back and forthI scroll repeatedly I scroll back and forthI scroll repeatedly

Home >Web Front-end >HTML Tutorial >Summarize the usage examples of marquee tag

Summarize the usage examples of marquee tag

零下一度
零下一度Original
2017-06-24 14:07:582575browse

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


I scroll repeatedly
I do not scroll repeatedly

(2).direction sets the scrolling direction:

I scroll up
I scroll down
I scroll left
I scroll right

(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