marquee

Form

<marquee> ... </marquee>

Attributes

attribute default description
id none specifies the unique ID
class none specifies the style sheet class
style none specifies the style sheet
behavior scroll specifies how the marquee should move (scroll, slide, alternate)
bgcolor none specifies the background color
height none specifies the height
width none specifies the width
direction left specifies the direction in which the marquee moves (left, right, down, up)
hspace none specifies the horizontal space
vspace none specifies the vertical space
loop none specifies how many times the marquee will loop
scrollamount none specifies the number of pixels the marquee will scroll at a time
scrolldelay none specifies the number of milliseconds the marquee will scroll (a millisecond = a 1/1000 of a second)
truespeed --- specifies whether the scrolldelay value less than 59 should be set to its exact value.

Support

Microsoft (MSDN)
[IE3 or later][Firefox 1 or later][Safari 1 or later][Opera 7 or later][Netscape 7 or later]

Explanation

The marquee tag makes move text and image. It is an Internet Explorer specific extension but supported by many browsers.

Related Tags

blink

Sample Code [Output]

<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<title>Sample</title>
</head>
<body>
<marquee>Texts and images move to a specified direction and at a specified speed.</marquee>
</body>
</html>