Summarize the usage examples of marquee tag
Jun 24, 2017 pm 02:07 PMmarquee implements scrolling effect (creates rolling text subtitles)
1.marquee supported attributes:
(1).behavior sets scrolling method:
< marquee behavior="alternate">I scroll back and forth</marquee>
<marquee behavior="scroll">I scroll repeatedly</marquee>
<marquee behavior="slide" >I do not scroll repeatedly</marquee>
(2).direction sets the scrolling direction:
<marquee direction="up">I scroll up</ marquee>
<marquee direction="down">I scroll down</marquee>
<marquee direction="left">I scroll left</marquee>
<marquee direction="right">I scroll right</marquee>
(3). Set the number of scrolls:
<marquee loop="-1" >I will keep scrolling</marquee>
<marquee loop="2">I will only scroll 2 times</marquee>
2.marquee Commonly used events:
<marquee onMouseOut="this.start()" >Scroll when the mouse moves out</marquee>
<marquee onMouseOver="this.stop()">Mouse Stop scrolling when moving in</marquee>
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!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

What software is crystaldiskmark? -How to use crystaldiskmark?

How to download foobar2000? -How to use foobar2000

BTCC tutorial: How to bind and use MetaMask wallet on BTCC exchange?

Teach you how to use the new advanced features of iOS 17.4 'Stolen Device Protection'

How to use Thunder to download magnet links
