HTML tag Marquee for scrolling effect

Source: Internet
Author: User

Using <marquee></marquee> can achieve a variety of scrolling effect, without JS control, using this tag can not only move text, but also certain pictures, tables and so on.

1. Syntax:

< Marquee > scrolling content </marquee>

Add the content you want to scroll between the tabs.

2. Important Attributes:

(1) Scroll direction direction (including 4 values: Up, down, left and right);

(2) rolling mode behavior;

1> Scroll: Cyclic scrolling, default effect;

2> Slide: Stop when you scroll only once;

3> Alternate: Scrolls back and forth alternately.

(3) Scroll speed: scrollamount (scroll speed is set to move the length of each scroll, in pixels);

(4) Rolling delay: Scrolldelay (Sets the time interval for scrolling, in milliseconds);

(5) Rolling loop loops (default is-1, scrolling will continue to loop);

(6) Scroll range: width height;

(7) Scrolling background color (bgcolor);

(8) Blank Space (hspace, vspace);

HTML tag Marquee for scrolling effect

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.