Thursday, April 3, 2014

Adding Up and Down Marquee to a Blog or Website




What is Marquee?
Marquee is nothing, only a way to run some text in a webpage. Generally the website designers run the text in webpages to present the current news, any important message or any offer for the visitors. So Marquee is important for the Webpage Designers. There are many types of Marquee. I have written about various types of Marquees in my old posts. This post is about Up and Down Marquee. It's also simple like other Marquee. Lets see an example of Up Marquee.

Example of Up Marquee

www.iDhali.com
by UZZWAL DHALI
Codes for the above Marquee
<marquee direction="up" scrollamount="1">
<font size="15">
www.iDhali.com
</br>
by Uzzwal Dhali
</font>
</marquee>

Example of Down Marquee www.iDhali.com
by UZZWAL DHALI

Codes for the above Marquee
<marquee direction="down" scrollamount="1">
<font size="15">
www.iDhali.com
</br>
by Uzzwal Dhali
</font>
</marquee>

Codes Description
Text between the <marquee> and </marquee> tags will run when we will apply it on a webpage. This is the default marquee tag without any attribute. The text will run from right to left by default after using these tags. If you want to change the direction then you have to use the attribute direction="left/right/up/down". Look at the first line of the codes of the above two boxes. There I have used direction="up" and direction="down". I have also used scrollamount="1" attribute to decrease the speed of the marquee.