HTML text Scrolling effect <marquee>

Source: Internet
Author: User

<marquee></marquee>

Properties: (1) Behavior: Set scrolling mode

A) Alternate: scroll back and forth between borders

b) Scroll: cyclic scrolling (from one end to the other, repeated)

c) Slide: Scroll only once

(2) Direction: Set the direction of scrolling

A) down: scroll from top to bottom

b) Left: scroll from right

c) Right: scroll from left

d) up: scroll from bottom up

(3) Scrolldelay: Set the rolling delay, the unit is milliseconds, the greater the value, the greater the delay

(4) ScrollAmount: Sets the speed of scrolling, in pixels, the higher the value, the faster

(5) Onmousemove= "This.stop ()": Stops scrolling when the mouse moves to the target

(6) Onmouseout= "This.start ()": Starts scrolling when the mouse leaves the target

Note: Actually do not have to learn a, no, later learn JS than this cow b more

HTML text Scrolling effect <marquee>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.