In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what is marquee in html". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what is marquee in html"?
In html, marquee means "scrolling" and can be used to insert a scrolling text, syntax "text content"; marquee tags support a variety of attributes that users can use to control what happens when the text reaches the edge of the container.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
In html, marquee means "scroll". The marquee element () is used to insert a scrolling piece of text.
The marquee tag supports a variety of attributes that users can use to control what happens when the text reaches the edge of the container.
Behavior
Sets how the text scrolls within the marquee element. Available values are scroll,slide and alternate. If no value is specified, the default value is scroll.
Bgcolor
Sets the background color by color name or hexadecimal value.
Direction
Sets the direction in which text scrolls within the marquee. Available values include left, right, and up and down. If no value is specified, the default value is left.
Height
Sets the height in pixels or percentage values.
Hspace
Sets the horizontal margin.
Loop
Sets the number of times the marquee scrolls. If no value is specified, the default value is − 1, indicating that marquee will scroll continuously.
Scrollamount
Sets the length, in pixels, of movement each time you scroll. The default value is 6.
Scrolldelay
Sets the time interval in milliseconds for each scroll. The default value is 85. Note that unless you specify a truespeed value, any values less than 60 are ignored and 60 is used instead.
Truespeed
By default, scrolldelay values less than 60 are ignored. If truespeed exists, those values are not ignored.
Vspace
Sets the vertical margin in pixels or percentage values.
Width
Sets the width in pixels or percentage values.
Example:
This text will scroll from right to leftThis text will scroll from bottom to top This text will bounce
At this point, I believe you have a deeper understanding of "what is marquee in html". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.