Menu ▼

Previous Next

<marquee> :

<marquee> tag will be used when we need to move/scroll the text/content automatically.

Syntax :

<marquee>Text to be scrolled here...</marquee>


Example :

<html>

<head>

    <title>HTML Tutorial</title>

</head>

<body>

    <p>

        This is my paragraph<br />

        <marquee>this text will scroll because I applied marquee tag.</marquee>

        <br />

        remaining text in normal.

    </p>

</body>

</html>


Output :
HTML Tutorial

This is my paragraph
this text will scroll because I applied marquee tag.
remaining text in normal.

Previous Next




Search dotnetlearners.com