Saturday, December 8, 2012

HTML News Ticker

We can use HTML marquee tag to create a simple news ticker. You can change the attribute values of the marquee tag and see the changes.

WIDTH: how wide the marquee is
HEIGHT: how tall the marquee is
DIRECTION: which direction the marquee should scroll
BEHAVIOR: what type of scrolling
SCROLLDELAY: how long to delay between each jump
SCROLLAMOUNT: how far to jump
LOOP: how many times to loop
BGCOLOR: background color
HSPACE: horizontal space around the marquee
VSPACE: vertical space around the marquee

HTML Code:
 <marquee direction="down" height="250px">
    <br />
      <br />
      <br />

No comments:
Write comments
Recommended Posts × +