There are various flow of marquee like scroll, up, down, slide. I will explain one by one.The simplest form to write Marquee tag is
<marquee> your text </marquee>Instead of it, there are various attribute of marquee tags are
- Behavior (Slide, Scroll, alternate)
- Direction (Up,Down , Left, Right)
- scrollamount (time in seconds)
- scrolldelay (time in seconds)
1.Marquee Scrolling Text
<!-- HTML codes by Probloggingtools.com -->Change the direction properties to right for scrolling it to right.
<marquee behavior="scroll" direction="left">Your ScrollingText</marquee>
2.Marquee Sliding Text
<marquee behavior="slide" direction="left">Your sliding text</marquee>Change the direction attribute for sliding direction.
3.Marquee Bouncing Text
<marquee behavior="alternate" direction="left">Your Bouncing Text</marquee>
4.Marquee in Up and Down direction
<marquee behavior="scroll" direction="up">Your ScrollingText</marquee>
5.Marquee Scrolling Speed
<marquee behavior="scroll" direction="left" scrollamount="1">Your Slow Speed Text</marquee> <br />
<marquee behavior="scroll" direction="left" scrollamount="10">Your Medium Speed Text</marquee><br />
<marquee behavior="scroll" direction="left" scrollamount="20">Your Fast Speed Text</marquee>
6.Marquee Scrolldelay attribute
scrolldelay attribute is used to scroll the text or image after some delay. It take time in second to pause the scrolling of the marquee.<marquee behavior="scroll" direction="left" scrollamount="50" scrolldelay='500'>Your Slow Speed Text</marquee>
6.Marquee in Images
You can use any Image tag in between <marquee> </marquee> tags to scroll images. All the other properties are same. See this example.<marquee behavior="scroll" direction="left"> <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi2Er0Iqh-JTrqPMha0uCeTMttYcsPJPss0S9X143BWc3UAUWZaKZS4jG1JD48rfWrCBiXFxWfi0m3qAizQDyivKBtZEQgGg0IkE53tvwk0h5y7pdxK7mmdfs9vg9wLsxAZtYRvZ3O6qiC/s72/icon1.png" /> </marquee>
I hope with the help of this tutorials, you can create cool and awesome sliding text for your blog. In next tutorials, i will explain how to use stop and start in marquee tags.
0 comments:
Post a Comment