SQL PHP HTML ASP JavaScript articles and free scripts to download
HTML

Marquee tag in HTML for scrolling text

HTML provides a special feature which enables us to display scrolling and animated text in the Web page. This tag is supported by Internet Explorer , Firefox and Netscape 7 and above. Netscape has its blink tag which blinks text placed inside this tag, but Internet Explorer does not support blink tag.

We can use marquee tag to scroll text or image in different directions. The text placed inside the marquee tag will start scrolling horizontally across the screen or the web page.

Usually scrolling texts are used to give messages or display some special announcements to the visitors. Using this we can make some part of the text stand out than others. Over time as content became important the uses of animation reduced in last some years.

Simple Marquee:

This is an example of Marquee
Code for the above marquee

<marquee>This is an example of Marquee</marquee>

Note:
      If <marquee> background colour is not specified then it takes the background of the <body> tag.

Using Image with Marquee tag

We can scroll any image by using marquee tag. Here is the code.

<marquee><img src=left.jpg></marquee>

We can add other properties like speed, direction , behaviour while using image tags within marquee.

Marquee Properties:

Some of the important marquee attributes are Marquee Behavior, Marquee Direction, Marquee Repeat and Marquee Speed

Managing speed of scrolling text , image


Number of User Comments : 1


Google+
ghygygygs08-10-2013
can u add something else
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked



Join Our Email List
Email:  
For Email Newsletters you can trust
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer