Hey! I've been searching on something to do when I came across a site that has a moving text. At first, I thought that it's some javascript code or something that makes it move but when I use firebug to look at the code I saw that it's using the <marquee> tag. I haven't use the marquee tag for a long time so I decided to explore the said tag once again.
Scrolling text:
<marquee behavior="scroll" direction="left">Your Text Here...</marquee>
Bouncing text:
<marquee behavior="alternate">Your Text Here...</marquee>
Scrolling text upwards:
<marquee behavior="scroll" direction="up">Your Text Here...</marquee>
Scrolling text by speed:
<marquee behavior="scroll" direction="left" scrollamount="1">
Your Text Here...Slow</marquee>
<marquee behavior="scroll" direction="left" scrollamount="10">
Your Text Here...Medium</marquee>
<marquee behavior="scroll" direction="left" scrollamount="20">
Your Text Here...Fast</marquee>
Start and stop text:
<marquee behavior="scroll" direction="left" onmouseover="this.stop();"
onmouseout="this.start();">Your text here...</marquee>
While (re)learning how to use marquee, I created this lyrics viewer. It's from the song entitled All This Time by Six Part Invention
No comments:
Post a Comment