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.