How to Change the Speed of Marquee HTML Code

How to Change the Speed of Marquee HTML Code thumbnail
Speed up or slow down your marquee by altering your code.

The HTML <marquee> tag allows content such as text and images to scroll across a webpage. The code can be altered in multiple ways to change the size, direction and speed of the marquee. If you would like your HTML marquee to move faster or slower than it does by default, the speed can be easily changed by altering the "scrollamount" value.

Instructions

    • 1

      Locate the <marquee> tag within the code of your webpage. It should look similar to this: <marquee behavior="scroll" direction="left">Text or Image</marquee>. Without a specified scrollamount value, the default speed is 6.

    • 2

      Click on the code so that your cursor is to the right of the direction value, then add a scrollamount so that the code now says <marquee behavior="scroll" direction="left" scrollamount="10">Text or Image</marquee>. The number 10 can be replaced with any number you choose.

    • 3

      Try out different numbers in the scrollamount value until your marquee is moving at the speed you would like. The higher the number, the faster it will go.

Related Searches:

References

  • Photo Credit Comstock/Comstock/Getty Images

Comments

Related Ads

Featured