H I O X INDIA
FREE ADVANCE HTML Tutorial
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Templates 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)
Español Français 中文 Deutsch Portuguese Japanese தமிழ்
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

HTML Basic
Introduction
How To
HTML Tags
html, head, body
Text Manipulation
IMAGES
Special Effects
Using Tables
Forms
Other Topics



ADVANCED HTML
Introduction
Media
Meta Tag
Frame tags
Fieldset
Tooltip
DTD
Image tags
Subscript & Superscript
Bullet styles
Canvas
Other tags
Ask Your Doubts
More about HTML
Feedback





Special Effects - Marquee Tag


Topic

How to make moving text in html?
How the make vertical marquee ( upward scrolling text )?
How to set color behind marquee text?



Explanation

Marquee Tag: <marquee> </marquee>

If you want your text to move with in the screen, use this tag.
The tag used is "marquee"

Example Code:
<marquee> This text will move </marquee>
The text in between the tags will move horizontally.
Result:
This text will move

Marquee tag has so many attributes, we are going to see them one by one

Attribute: bgcolor This sets the background color for marquee path
Example Code:
<marquee bgcolor=orange> Moving Text </marquee>
Result: Moving Text

Attribute: height,width The attribute width sets the width of marquee area
The attribute height sets the height of marquee area
Example Code:
<marquee bgcolor=orange width=100 height=20> Moving Text </marquee>
Result:
Moving Text

Attribute: direction
This sets the background color for marquee path.
It takes values LEFT or RIGHT or UP or DOWN
Example Code:
<marquee bgcolor=orange width=100 height=20 direction=right> Text will Move </marquee>
Result with direction as RIGHT:
Text will Move
Result with direction as (vertical) UP:
Text will Move




privacy policy     license     sitemap
© 2004-2010 HIOX INDIA

Other Links