_html marquee
The <marquee> tag is a useful tag for creating a simple scrolling effect like in the example shown below. It could be used as a simple ticker with hyperlinks to other pages on your site or news stories.
This is how the marquee looks using the code from the marquee example page.
Marquee Code:
Available parameters for <marquee>:
- WIDTH: how wide the marquee is
- HEIGHT: how tall the marquee is
- DIRECTION: which direction the marquee will scroll: DIRECTION=LEFT or DIRECTION=RIGHT
- BEHAVIOR: what type of scrolling: BEHAVIOR=SCROLL, BEHAVIOR=SLIDE or BEHAVIOR=ALTERNATE
- SCROLLDELAY: how long to delay between each jump: SCROLLDELAY=n i.e. if n=1000 the delay would be 1 second
- SCROLLAMOUNT: how far to jump: SCROLLAMOUNT=n n=the disance to move each time
- LOOP: how many times to loop
- BGCOLOR: background color
- HSPACE: horizontal space around the marquee
- VSPACE: vertical space around the marquee
You can also incorporate style elements into your <marquee> tags as in this example or use a style sheet if you wish
<marquee> is now supported by Netscape, 7 and above. Earlier versions of Netscape don't support the tag.
|