What’s an HTML Select?

Print anything with Printful



The HTML bounding box tag moves elements over a portion of the web page and was originally designed for text animation. The marquee tag is deprecated and not guaranteed to be supported. Properties can be defined to control direction, speed, and behavior.

In HyperText Markup Language (HTML), a bounding box is an HTML tag that causes elements contained within the tag to move over a portion of the viewable area of ​​the web page. The HTML box was originally designed to allow designers to easily include a ticker-tape style text animation, although the tag can be applied to any type of element, including images and hyperlinks. Like many HTML tags, the marquee HTML tag has several attributes that can be set to control the direction and speed of movement, how many times the element scrolls, and how much of the screen it crosses. The HTML marquee tag was never technically part of the HTML language standard; instead, it was an extension built for a single web browser, though many other browsers eventually incorporated some support for the tag. The basic scrolling of an HTML box can be easily reproduced using cascading style sheets (CSS) and JavaScript®, and is the preferred method of creating the effect.

An important note about the HTML marquee tag is that it was an extension created exclusively for Microsoft® Internet Explorer®, with no notification to the consortium that maintains and regulates the HTML language standard. This meant that the select function originally only displayed on one browser and had no formal standards to implement for other browsers. Most web browsers eventually implemented support for the marquee tag, mostly for compliance with existing websites. The marquee tag is officially deprecated under the HTML Language Standard, however, its continued support is not guaranteed, and its continued use is discouraged.

Within a web page, the HTML marquee tag can be used to enclose text, an image, or other HTML element so that the element visibly moves or scrolls on a page. The default behavior is for the element to move from an inconspicuous position past the right edge of the frame to the left and then out of view past the left edge of the frame. Without any other definition, the selector element will scroll continuously like this for as long as the website is being viewed.

You can define several properties to better control the behavior of an HTML bounding box. The direction of the HTML box can be changed so that the objects scroll vertically. The speed of movement can be defined in milliseconds so that elements move faster or slower. More importantly, the default behavior of scrolling to and from non-visible locations can be changed so that text always appears within its scroll area. You can also define a specific number of cycles, or loops, so that text travels across the screen only a certain number of times before stopping and becoming static.




Protect your devices with Threat Protection by NordVPN


Skip to content