xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>This is basic example of marquee This is basic example of marquee This is basic example of marquee This is basic example of marquee This is basic example of marquee</marquee>
<marquee direction = "up">The direction of text will be from bottom to top.</marquee>
</body>
</html>
xxxxxxxxxx
<marquee behavior="scroll" direction="up" scrollamount="1">Slow Scrolling</marquee>
<marquee behavior="scroll" direction="right" scrollamount="12">Little Fast Scrolling</marquee>
<marquee behavior="scroll" direction="left" scrollamount="20">Fast Scrolling</marquee>
<marquee behavior="scroll" direction="right" scrollamount="50">Very Fast Scrolling</marquee>
Output:
xxxxxxxxxx
<marquee>Add the text you want to scroll</marquee>
You can even control it using these attributes
<marquee behavior="scroll" direction="right"></marquee>
<marquee behavior="scroll" direction="up"></marquee>
<marquee behavior="scroll" direction="down"></marquee>
<marquee behavior="scroll" direction="left" scrollamount="5"></marquee>
You can use CSS to make it look better and make it dynamic. But this is 'nuf for now!
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>This is basic example of marquee</marquee>
<marquee direction = "up">The direction of text will be from bottom to top.</marquee>
</body>
</html>
xxxxxxxxxx
<!-- SCROLLING TEXT: -->
<marquee>Scrolling text goes here</marquee>
<!-- SCROLLING IMAGE: -->
<marquee>
<img src="image.png" width="100" height="100" />
</marquee>
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>This is basic example of marquee</marquee>
</body>
</html>
xxxxxxxxxx
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>This is basic example of marquee This is basic example of marquee This is basic example of marquee This is basic example of marquee This is basic example of marquee</marquee>
<marquee direction = "up">The direction of text will be from bottom to top.</marquee>
</body>
</html>