What is a marquee?

This is a recommends products dialog
Top Suggestions
Starting at
View All >
Language
French
English
ไทย
German
繁體中文
Country
Hi
All
Sign In / Create Account
language Selector,${0} is Selected
Register & Shop at Lenovo Pro
Register at Education Store
Pro Tier Benefits
• Save up to an extra 20% on Think everyday pricing.
• Spend $15K, advance for FREE to Plus Tier with increased benefits.
Plus Tier Benefits
• Save up to an extra 25% on Think everyday pricing.
• Spend $50K, advance for FREE to Elite Tier with increased benefits.
Elite Tier Benefits
• Save up to an extra 30% on Think everyday pricing.
Reseller Benefits
• Access to Lenovo's full product portfolio
• Configure and Purchase at prices better than Lenovo.com
View All Details >
more to reach
PRO Plus
PRO Elite
Congratulations, you have reached Elite Status!
Pro for Business
Delete icon Remove icon Add icon Reload icon
TEMPORARILY UNAVAILABLE
DISCONTINUED
Temporary Unavailable
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
Sign in or Create an Account to Save Your Cart!
Sign in or Create an Account to Join Rewards
View Cart
Your cart is empty! Don’t miss out on the latest products and savings — find your next favorite laptop, PC, or accessory today.
Remove
item(s) in cart
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
of
Contains Add-ons
Subtotal
Proceed to Checkout
Yes
No
Popular Searches
What are you looking for today ?
Trending
Recent Searches
Hamburger Menu


What is a marquee?

A marquee is a scrolling display of text or images that is created using hypertext markup language (HTML) or cascading style sheets (CSS) in web development. It's a way to attract attention to specific content on a webpage by making it move across the screen.

Can I use a marquee in any web browser?

Yes, you can use a marquee in any web browser. However, it's worth noting that the marquee tag is not part of the official hypertext markup language (HTML) specification and may not work perfectly in all browsers. Therefore, it's generally recommended to use cascading style sheets (CSS) animations for a similar effect that's more widely supported.

Does a marquee have different types of movements?

A marquee has several types of movements. The most common ones are left (default), right, up, and down. You can specify the direction of the movement using the 'direction' attribute in your marquee code.

When should I use a marquee in my web development projects?

While a marquee can add a dynamic element to your web pages, it's important to use it sparingly. Overuse can lead to a cluttered and confusing user interface. Also, as a marquee is not officially part of the hypertext markup language (HTML) specification, it may not be supported in all browsers. So, you should consider using cascading style sheets (CSS) animations instead for a more reliable and modern approach.

Could I control the speed of the marquee?

Yes, you can control the speed of the marquee. This is done through the 'scrollamount' attribute. The higher the number, the faster the marquee moves. However, remember that a marquee moving too fast may hinder readability for your website visitors.

Can I use images in a marquee?

Yes, you can use images in a marquee. You just need to include the 'img' tag inside the 'marquee' tag. This can be an effective way to create a scrolling banner of images. Remember to ensure your images are appropriately sized and optimized for web use to prevent slow loading times.

Would cascading style sheets (CSS) animations be a better choice than a marquee for modern web design?

In general, CSS animations are a more modern and reliable choice for creating moving elements on a webpage. They offer more control over the animation's timing, duration, and direction, and they're supported by all modern browsers. However, marquees can still be useful for simple, quick tasks where fine-tuned control isn't necessary.

What if I want my marquee to loop a specific number of times?

If you want your marquee to loop a specific number of times, you can use the 'loop' attribute. Just set it to the number of times you want the marquee to loop. If you don't specify a number, the marquee will loop indefinitely.

Could I change the background color of the marquee?

Yes, you can change the background color of the marquee. To do this, you'll need to use the 'bgcolor' attribute within the marquee tag. Just specify the color you want in either name format (like 'red') or hexadecimal format (like '#FF0000').

What is the difference between using a marquee in hypertext markup language (HTML) and cascading style sheets (CSS)?

The main difference lies in the fact that marquee in HTML uses the 'marquee' tag, which is not part of the official HTML specification. On the other hand, creating a marquee effect in CSS involves using keyframe animations, which are widely supported across all modern browsers. Additionally, CSS provides more control over the animation's properties.

Does the use of a marquee impact website performance?

While a single marquee may not significantly impact your website's performance, excessive use can slow down your site, especially if you're using large images or text blocks. It's always important to optimize your code and media files to ensure the best possible loading speed.

Can I nest one marquee inside another?

Yes, you can nest one marquee inside another, creating what's called a nested marquee. This can create interesting effects, such as text scrolling in one direction while its container scrolls in another. However, keep in mind that this can also potentially confuse or distract your users, so use this technique sparingly.

What happens if I don't specify a direction for my marquee?

If you don't specify a direction for your marquee, it will default to 'left'. This means your text or images will start from the right side of the containing element and move towards the left.

Would it be possible to pause a marquee?

Yes, it's possible to pause a marquee. If you're using hypertext markup language (HTML), you can do this with JavaScript and the 'onmouseover' event. Alternatively, if you're using cascading style sheets (CSS) animations to create a marquee effect, you can use the 'animation-play-state' property and set it to 'paused' on hover.

Can I use a marquee to create a news ticker?

Yes, you can use a marquee to create a simple news ticker. A news ticker is a small section on your website that continuously displays a line of text, often used for breaking news or updates. However, for a more modern and reliable implementation, consider using cascading style sheets (CSS) animations or JavaScript.

What if I want my marquee to bounce back and forth instead of scrolling off the edge?

You can make your marquee bounce back and forth by setting the 'behavior' attribute to 'alternate'. This will make the marquee move back and forth within the containing element, rather than scrolling off the edge.

Could I change the direction of the marquee halfway through?

Yes, you can change the direction of the marquee halfway through by using JavaScript along with the document object model (DOM). You would need to capture the mid-point of the marquee's movement, then change the 'direction' property accordingly.

Can I use a marquee to create a slideshow of images?

Yes, you can use a marquee to create a basic image slideshow. You would simply include your images within the marquee tags in the order you want them to appear. However, for a more professional-looking slideshow with transition effects, consider using a JavaScript library like jQuery or a cascading style sheets (CSS) framework like Bootstrap.

What happens if I use a marquee on a small screen or mobile device?

The behavior of the marquee on smaller screens or mobile devices depends on how you've coded it. If you've used media queries to make your website responsive, the marquee should adapt accordingly. However, keep in mind that the marquee tag is not officially supported in hypertext markup language (HTML), so it may not work as expected on all devices or browsers.

Can I change the color of the text in a marquee?

Yes, you can change the color of the text in a marquee. You can do this by using the 'color' property in your cascading style sheets (CSS), or by using the 'style' attribute directly in your hypertext markup language (HTML).

{"pageComponentDataId":"e857fdeft7e51-4b61-84dc-bccec6e68e00","pageComponentId":"e857fdeft7e51-4b61-84dc-bccec6e68e00","isAssociatedRelease":"true","pageComponentDataLangCode":"en_au","configData":{"jumpType":"currentTab","headlineColor":"black","displayNumber":"","styleMode":"vertical","miniCardHoMode":"2","headline":"","products":[{"number":{"t_id":"21kccto1wwau5","language":{"en_nz":"21kccto1wwau5","en_au":"21kccto1wwau5","en":""},"id":"Pageb33ce4b8-4839-4ba3-b993-7296d68a91b8"}},{"number":{"t_id":"21mccto1wwau3","language":{"en_nz":"21mccto1wwau3","en_au":"21mccto1wwau3","en":""},"id":"Page1fa61927-074c-4fe0-a8df-5c94362fb75c"}},{"number":{"t_id":"21lkcto1wwau3","language":{"en_nz":"21lkcto1wwau3","en_au":"21lkcto1wwau3","en":""},"id":"Pageca014688-410e-439a-a4c6-bba2ef6d4715"}},{"number":{"t_id":"21g2cto1wwau3","language":{"en_nz":"21g2cto1wwau3","en_au":"21g2cto1wwau3","en":""},"id":"Page79cd32c8-d467-4d68-b955-d273bb24eda7"}}]},"urlPrefix":"AAAAAAAH","title":"glossary-right-blue-boxes-fragment","pageId":"65b55929-de05-417a-a92a-ccb888d329b0","urlEdit":0,"uri":"/FragmentDirectory/glossary/glossary-right-blue-boxes-fragment.frag","pageComponentUuid":"e857fdeft7e51-4b61-84dc-bccec6e68e00"}
coming coming
Starting at
List Price
Web Price
Web Price:
List Price
Web Price
List Price is Lenovo’s estimate of product value based on the industry data, including the prices at which first and third-party retailers and etailers have offered or valued the same or comparable products. Third-party reseller data may not be based on actual sales.
Web Price is Lenovo’s estimate of product value based on industry data, including the prices at which Lenovo and/or third-party retailers and e-tailers have offered or valued the same or comparable products. Third-party data may not be based on actual sales.
Learn More
See More
See Less
View {0} Model
View {0} Models
Part Number:
Features
See More
See Less
compare
Added!
Great choice!
You may compare up to 4 products per product category (laptops, desktops, etc). Please de-select one to add another.
View Your Comparisons
Add To Cart
Add To Cart
We're sorry,
Products are temporarily unavailable.
Continue shopping
Learn More
Coming Soon
Featured Product
Top Deals of the Day
Oops! No results found. Visit the categories above to find your product.
Save
open in new tab
© 2024 Lenovo. All rights reserved.
© {year} Lenovo. All rights reserved.
Compare  ()
x