Create Simple Moving Text With marquee Tag
On many website you will see a moving text,you can also add it to your blog by just using a simple marquee tag.You can also add it at top or just below of your navbar.In this tutorial first we will see how to use the marquee tag and after we will see marquee tag using the css.I will also give a tutorial on moving facebook like button,twitter follow button and google +1 button after.Now let's see how to use marquee tag.
1: How To Use <marquee> Tag ?
- Go to your Post Editor
- Change tab to Edit HTML
- In Edit HTML Section type
<marquee>Welcome To Btsnts</marquee>
Demo ?
You can change the background color,font color and font family by adding the css.
2: How To Stop marquee On Mouse Hover ?
To stop marquee on mouse hover you will have to use this tag
<marquee behavior="scroll" direction="left" onmouseover="this.stop();" onmouseout="this.start();">YOUR TEXT HERE</marquee>
Now add your text in ADD YOUR TEXT.Lets see a demo for stop marquee on hover.
Demo ?
3: Adding CSS TO marquee Tag
To change background,font family and font color use the code below..
<style>.text{color:#FF0000;font-family:verdana;background:#ffcc00;padding:5px;}</style><div class="text"><marquee behavior="scroll" direction="left" onmouseover="this.stop();" onmouseout="this.start();">Welcome To BTSNTS</marquee></div>
Demo ?
0 komentar:
Posting Komentar