This time I'll explain the command marquee. This marquee can be made by using the tag <marquee>.......</marquee>. This command is usually used for advertising or text that contains the message of the blog owner.
Attributes are often used in the Marquee command:
BGCOLOR = "color" -> To set the background color (background) text.
DIRECTION = "left / right / up / down" -> Set the text direction of movement.
BEHAVIOR = "scroll / slide / alternate" -> To regulate the conduct of the movement.
Scroll -> moving text around.
Slide -> text once and then stopped moving.
Alternate -> text moves from left to right and then back again.
TITLE = "message" -> The message will appear when the mouse is above the text.
SCROLLMOUNT = "number" -> set the speed of movement in pixels, the larger the number the faster the movement.
SCROLLDELAY = "number" -> To set the delay time in milli seconds.
LOOP = "number | -1 | infinite" -> Set the number of loops.
WIDTH = "width" -> Set the width of the text block in pixels or percent
Example Marquee / Text runs: from right to left:
<MARQUEE align="center" direction="right" height="200" scrollamount="2" width="100%">
LOVE IS BEAUTY blog SEDERHANA
</MARQUEE>
the result:
<MARQUEE align="center" direction="left" height="300" scrollamount="3" width="70%" behavior="alternate">
www.bansai-irenks.co.cc
</MARQUEE>
the result:
<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2" direction="up" width="100%" height="200" align="center">
<a href="http://www.bansai-irenks.co.cc/" target="new">bansai irenks</a><br/>
<a href="http://template-irenks.blogspot.com" target="new">free template</a><br/>
<a href="http://mega-k-dewi.blogspot.com/" target="new">mega-k-dewi</a><br/>
</marquee>
the result:

0 comments:
Post a Comment