HTML

HTML Projects

HTML Project

Marquees In HTML
Previous Home Next
adplus-dvertising

Marquee HTML tag is generally used to scroll a image or text horizontally or vertically and it is firstly introduced by Microsoft's Internet Explorer.

Syntax used
<marquee>..</marquee>  
Example of Marquee to move right to left
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee>This is basic example of marquee</marquee>
</body>
</html>

Output :

This is basic example of marquee

Example of Marquee to move right to left with 50% width
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee width="50%">This example will take only 50% width</marquee>
</body>
</html>

Output :

This example will take only 50% width
Example of Marquee to scroll from left to right
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee direction="right">This text will scroll from left to right</marquee>
</body>
</html>

Output :

This text will scroll from left to right
Example of Marquee to scroll from bottom to up
<!DOCTYPE html>
<html>
<head>
<title>HTML marquee Tag</title>
</head>
<body>
<marquee direction="up">This text will scroll from bottom to up</marquee>
</body>
</html>

Output :

This text will scroll from bottom to up
Supporting Browsers
Previous Home Next