Programs in HTML

8. Program to insert scrolling text using Marquee tag.

<html>
<head>
<title>Marquee tag</title>
</head>
<body>
<marquee direction="right">Scrolling right</marquee>
<marquee direction="left">Scrolling left</marquee>
<marquee direction="down">Scrolling down</marquee>
<marquee direction="up">Scrolling up</marquee>
<marquee behavior="slide"><img src="2.jpg" width="100"></marquee>
<marquee behavior="alternate" scrollamount="20"><img src="4.jpg" width="100"></marquee>
</body>
</html>
Output
Scrolling right Scrolling left Scrolling down Scrolling up

Father of HTML and World Wide Web

Tim Berners Lee

Tim Berners Lee

Born: June 8, 1955, London