Marquee tag on html
With marquee tag on html you can make animation text to scroll up, down, left, or right. Lets learn marquee tag below?
Standar marquee tag is:
| <marquee>some text</marquee> |
Text above will be display like this:
You can use atributes such as:
#1 Behavior: Allows the user to set the behavior of the marquee to one of three different types:
- Scroll - DEFAULT. Scrolls the text from right-to-left, and restarts at the right side of the marquee when it has reached the left side. Text disappears when looping finishes.
- Slide - Same as Scroll except that the text stays there after the loop(s) if a loop(s) is set.
- Alternate - Text ‘bounces’ from the left side of the box to the right side. Loops are counted by each time it reaches the other end; a loop of 1 would be the same as Slide.
| <marquee behavior="alternate">This text will bounce from left to right</marquee> |
#2 Bgcolor: Sets the background color of the marquee.
| <marquee bgcolor="blue">This marquee’s background color will be blue.</marquee> |
#3 Direction: Sets the direction of the marquee box to either left-to-right, right-to-left, up-to-down and down-to-up. Later browsers added support for a movie credit style bottom-up and top-down values.
| <marquee direction="right">This text will scroll from left to right.</marquee> |
#4 Height: This sets how tall the marquee should be.
| <marquee height="20px">The height of this marquee is twenty pixels.</marquee> |
#5 Width: This sets how wide the marquee should be.
| <marquee width="100px">This marquee is only a hundred pixels wide!</marquee> |
#6 Loop: This sets how many times the marquee should ‘Loop’ its text.
| <marquee loop="2">You will only see this text twice before it stops playing.</marquee> |
#7 Scrollamount: This is how many pixels the text moves between ‘frames’, in pixels.
| <marquee scrollamount="10">This text will move ten pixels per ‘frame’</marquee> |
#8 Scrolldelay: This sets the amount of time, in milliseconds, between ‘frames’.
| <marquee scrolldelay="1000">This would be so slow, you’d get no sense of animation.</marquee> <marquee scrolldelay="1">This would be so fast, you couldn’t see it!</marquee> |
Well done, thanks
byme
woooiii webyme, i’m coming but you not here…. salam kenal deh, pokoknya i’ll be back deh.
Wow, blog kamu keren banget, maklum aku masih newbie ngeblognya, kapan2 aku tak mampir kesini lagi… Makasih udah mampir di blogku, kita kan sering ketemu di meseko.com, boss… Kapan2 mampir lagi ya… Thanks!!
Nice article. Tapi aku jarang pake, soalnya tulisannya jadi susah kebaca…
mantap blognya bro…
bisa banyak belajar neh
keep smile
thank for you comment, sok english yah
wakakak
Nice prentz