In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to use the marquee tag of html5". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Marquee is not a new html5 tag, it has been deprecated and developers need to avoid using it. Marquee is a non-standard HTML tag used to create scrolling text or images that scroll down horizontally or vertically on a web page.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
Is a non-standard HTML tag used to create scrolling text or images. It is used to make text or images scroll down horizontally or vertically on a web page. You can use its properties to control what happens when the text reaches the edge of the container.
The element has been deprecated, please do not use it again. Although some browsers still support it, it is not necessary. In addition, using this element is basically one of the worst things you can do to your users, so please don't do it.
Labels appear in pairs. The content is written between the start () and end () tags.
Attribute
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.
Examples of using HTML tags:
Title of the document marquee {font-size: 30px; font-weight: 800; color: # 8ebf42; font-family: sans-serif;} A scrolling text created with HTML Marquee element.
This is the end of the content of "how to use the marquee tag of html5". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.