Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the attributes of the marquee tag

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "what are the attributes of marquee tags". In daily operation, I believe many people have doubts about the attributes of marquee tags. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts about "what are the attributes of marquee tags?" Next, please follow the editor to study!

The main attributes of tags are behavior, bgcolor, direction, width, height, hspace, vspace, loop, scrollamount, scrolldelay and so on, which are optional.

one。 The behavior attribute of the tag

The parameter value of the behavior attribute is one of alternate, scroll, and slide, indicating that the text scrolls back and forth, cyclically in one direction, and scrolls only once. It is important to note that if both the direction and behavior attributes appear in the tag, then the scrolling direction of scroll and slide will be set according to the parameters in the direction attribute.

I roll back and forth

I cycle in one direction, I cycle up in one direction, and I only scroll once.

I only scrolled up once.

The background color of the scrolling range of the bgcolor attribute text, and the parameter values are hexadecimal (in the form of # AABBCC or # AA5566, etc.) or predefined color names (such as red, yellow, blue, etc.). As follows: my background color is red

two。 The direction attribute of the tag

The direction in which the text scrolls. The parameter values of the attribute have four single optional values: down, left, right, and up, which represent the scroll direction down, left, right, and up, respectively. As follows:

I scrolled to the right

I scrolled down

At this point, the study of "what are the attributes of marquee tags" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report