HTML Tag marquee achieves rolling effect, tag marquee
The automatic Page scrolling effect can be achieved by javascript, but today we accidentally discovered an html Tag-<marquee> </marquee> to achieve multiple scrolling effects without js control.
You can use the marquee mark to move text, images, tables, and so on.
Syntax: <marquee>... </marquee>; Description: add the content to be rolled between tags.
Important attributes:
1. Scroll direction ction (including four values: up, down, left, and right)
Syntax: <marquee direction = "rolling direction">... </marquee>
2. scroll mode behavior (scroll: cyclic scroll, default effect; slide: Stop only once; alternate: scroll back and forth)
Syntax: <marquee behavior = "rolling mode">... </marquee>
3. scrollamount)
Syntax: <marquee scrollamount = "5">... </marquee>
4. scrolldelay (set the interval of scrolling in milliseconds)
Syntax: <marquee scrolldelay = "100">... </marquee>
5. Rolling loop (the default value is-1, and the scrolling continues)
Syntax: <marquee loop = "2">... </marquee>
6. Scroll range: width and height
7. Scroll background color bgcolor
8. Blank Space (for example, the number of empty spaces)
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">