Marquee Label Attribute detailed

Source: Internet
Author: User
Tags integer
HTML tutorial, marquee tag attributes.

Please read the following code first
Here Enter scrolling content
Now let's make a concrete analysis.
Direction represents the direction of scrolling, the value can be Left,right,up,down, and the default is left
Behavior represents the way in which the value can be scroll (continuous scrolling) slide (sliding once) alternate (round trip)
Loop represents the number of loops, the value is a positive integer, and the default is an infinite loop
ScrollAmount represents the motion speed, the value is a positive integer, and the default is 6
Scrolldelay represents the pause time, the value is a positive integer, the default is 0, and the unit appears to be milliseconds
Align represents the vertical alignment of an element, the value can be top,middle,bottom, and the default is middle
bgcolor represents the background color of the motion area, the value is a 16 RGB color, and the default is white
Height and width represent the heights and widths of the motion area, the value is a positive integer (in pixels) or a percentage, and the default width=100% height is the level of the element within the label
Hspace, vspace represents the horizontal and vertical distances from the element to the area boundary, and the value is a positive integer, in pixels.
Onmouseover=this.stop () Onmouseout=this.start () indicates that scrolling stops when the mouse is over the area, and continues scrolling as the mouse moves away.



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.