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 ?
Quick Links
Recent Searches
Hamburger Menu
skip to main content
{"backgroundColor":"#e6f4fa","sideMsg":"","data":[{"bannerInfo":{"t_id":"Pageda44be57-293f-41c4-a22a-ec1f4d1d4aaa","language":{"en_nz":"Lenovo%26%2339%3Bs%20CO2%20Offset%20Services%20%7C%20Choose%20the%20technology%20you%20need%20without%20compromising%20on%20your%20environmental%20goals.%26nbsp%3B%3Ca%20href%3D%22%2Fco2-offset-services%2F%3FipromoID%3Dnz_sitewide_carousel_b1_co2%22%20target%3D%22_blank%22%20title%3D%22LEARN%20MORE%20%26gt%3B%22%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ELEARN%20MORE%20%26gt%3B%3C%2Fspan%3E%3C%2Fa%3E","en":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3ELenovo%26%2339%3Bs%20CO2%20Offset%20Services%20%7C%20Choose%20the%20technology%20you%20need%20without%20compromising%20on%20your%20environmental%20goals.%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fco2-offset-services%2F%3FipromoID%3Dnz_sitewide_carousel_b1_co2%22%20target%3D%22_blank%22%20title%3D%22LEARN%20MORE%20%26gt%3B%22%20textvalue%3D%22LEARN%20MORE%20%26gt%3B%22%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ELEARN%20MORE%20%26gt%3B%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E"},"id":"Pageda44be57-293f-41c4-a22a-ec1f4d1d4aaa"}},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page4874ba0d-3199-4846-bb5c-1682f8f7ab23","language":{"en_nz":"Lenovo%20Education%20Store%20%7C%20Get%20access%20to%20members-only%20pricing%20across%20a%20large%20range%20of%20PCs%20%26amp%3B%20accessories.%20Sign%20up%20now%20with%20your%20Education%20ID.%20%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fedu%2Fnzeducation%2Fen%2Flogin%2Fanzedu%2F%3FipromoID%3Dnz_sitewide_carousel_b2_nzedu%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ESIGN%20UP%20OR%20LOG%20IN%3C%2Fspan%3E%3C%2Fa%3E","en":"%3Cp%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3ELenovo%20Education%20Store%20%7C%26nbsp%3B%3C%2Fspan%3E%3Cspan%20style%3D%22text-wrap%3A%20wrap%3B%22%3EGet%20access%20to%20members-only%20pricing%20across%20a%20large%20range%20of%20PCs%20%26amp%3B%20accessories.%20Sign%20up%20now%20with%20your%20Education%20ID.%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fedu%2Fnzeducation%2Fen%2Flogin%2Fanzedu%2F%3FipromoID%3Dnz_sitewide_carousel_b2_nzedu%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20textvalue%3D%22SIGN%20UP%20OR%20LOG%20IN%22%3ESIGN%20UP%20OR%20LOG%20IN%3C%2Fa%3E%3C%2Fp%3E"},"id":"Page4874ba0d-3199-4846-bb5c-1682f8f7ab23"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page34a34439-01c1-482d-980f-c1d0048af3fd","language":{"en_nz":"%3Cp%3ELenovo%20Pro%20Business%20Store%20%7C%20Get%20access%20to%20exclusive%20business%20benefits%2C%201%3A1%20support%20%26amp%3B%20lots%20more.%20Login%20to%20access%20your%20savings%20now.%26nbsp%3B%3C%2Fp%3E%3Cp%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fsharelenovo%2Fnzsmb%2Fen%2Flogin%2Fnzsmb%2Findex.html%3FipromoID%3Dnz_sitewide_carousel_b3_nzsmb%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20textvalue%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ESIGN%20UP%20OR%20LOG%20IN%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","en":"%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3ELenovo%20Pro%20Business%20Store%20%7C%20Get%20access%20to%20exclusive%20business%20benefits%2C%201%3A1%20support%20%26amp%3B%20lots%20more.%20Login%20to%20access%20your%20savings%20now.%26nbsp%3B%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fnz%2Fsharelenovo%2Fnzsmb%2Fen%2Flogin%2Fnzsmb%2Findex.html%3FipromoID%3Dnz_sitewide_carousel_b3_nzsmb%22%20target%3D%22_blank%22%20title%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20textvalue%3D%22SIGN%20UP%20OR%20LOG%20IN%22%20style%3D%22color%3A%20rgb(41%2C%2078%2C%20149)%3B%22%3ESIGN%20UP%20OR%20LOG%20IN%3C%2Fa%3E%3C%2Fp%3E"},"id":"Page34a34439-01c1-482d-980f-c1d0048af3fd"},"gInfo":""}],"autoRun":true,"displayTerminal":"pc,tablet,mobile"}

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).

open in new tab
© 2024 Lenovo. All rights reserved.
© {year} Lenovo. All rights reserved.
Compare  ()
x