/ / What is an HTML creeping line

What is an HTML creeping line

running line html

The HTML crawl is one of the manyelements of this language. You probably have watched it on the Web more than once. This tag has a specific application. Due to inept treatment of this element, many inexperienced developers make a big mistake when they insert a large number of them in their document. Few readers like something flashing or sparkling, including the running HTML line. In this article, we will consider how to properly handle this element and where to use it?

html creeping line

Appointment. In HTML, the running line is assigned whenusing the <marquee> tag. I want to say at once that this element is not included in any version of the HTML or XHTML specification. Therefore, using this tag will result in a non-valid code. Despite this flaw, the <marquee> element is supported by all modern browsers, including mobile versions. Initially, this tag was intended only for IE browsers, and only text could be moved. But now, between the <marquee> tags, you can place any element, such as an image or a table. Thus, the running HTML line has expanded its basic capabilities. In addition, there are all kinds of attributes that allow you to create an unusual effect.

creeping line in html

Features. Many web designers have a running line in HTMLbegan to be accepted as a bad form. The fact is that when users are in a concentrated state, for example when reading, they will always be distracted forever by a moving strip with text or a picture. Because of this, concentration will be lost, people will become nervous, which will put a "cross" on your site. Therefore, do not put more than one such line on one page. And it's better not to use this tag without special need.

Here should sound quite logical question: "Is it worth using this element at all?" Under certain circumstances, you can come up with an interesting effect. For example, create a vertically scrolled news or news feed. To do this, you must use the "Direction" attribute with the value "down" (from top to bottom). Just note that when using vertical scrolling, it is recommended to specify the actual dimensions. The value of the string is assigned using the attributes "width" and "height". If you connect "on", you can stop the tape when the cursor appears on the line area, and vice versa. When combining different values ​​and settings, a normal line can turn into a useful element for users.

Conclusion. Some experienced users may notice,that you can achieve this effect using a more convenient language - JavaScript. But all the information contained in the scripts will not be indexed by the search engines. In case of placing various news this can harm your site and reduce the number of new users. A creeping line of HTML is included in the indexing of all search engines. So your news (or other information) will become available to new people. Combine the attributes, and you can create a beautiful and, most importantly, informative element from the usual unnecessary tag.

Read more: