MySpace Marquee Codes
A marquee allows you to have scrolling text and images. A marquee can be created using the HTML marquee
tag. Although the marquee
tag isn't official HTML, it is supported by all the major browsers. To create a marquee for your MySpace page, just copy and paste the code/s below.
You can also use the marquee generator to create custom marquees.
Slide-in text:
This first example uses text that slides in from the right hand side of the page. If you missed it, try refreshing the page to see it slide in again.
Example:
HTML Code:
Text Scrolling to the Left:
This example is similar to the above example however, once the text has slid in, it starts again. This is usually referred to as "scrolling text".
Example:
HTML Code:
Text Scrolling to the Right:
Same as above except this text scrolls to the right:
HTML Code
Bouncing Text:
This text bounces back and forth:
HTML Code:
Text Scrolling Up:
This text scrolls continuously in an upward direction:
HTML Code:
Text Scrolling Down:
This text scrolls downward:
HTML Code:
Change the Scrolling Speed:
You can speed up and slow down your marquee using the scrollamount
attribute. To speed up the scrolling, use a higher number. To slow it down, use a lower number.
Example:
HTML Code:
Scrolling Images:
The marquee
tag doesn't just work on text. It also works for images and other HTML elements. To do put an image inside your marquee, use the HTML img tag inside your marquee tags.
Just remember to replace the src="...
part with the location of your own image.
Example:
HTML Code:
Image and Scrolling Caption:
You place than one element within a marquee. In this example, we add a caption under the image tag (but still within the marquee tags):
HTML Code:
Marquee effects
Believe it or not but the following falling text effects were created using the marquee
tag. You can do this too with the Falling Text Generator.