Syntax

<marquee>
<--- contents --->
</marquee>

Sample Code

<!DOCTYPE html>
<html>
<head>
<title>Marquee Tag</title>
<style>
.main {
text-align:center;
}
.marq {
padding-top:30px;
padding-bottom:30px;
}
.geek1 {
font-size:36px;
font-weight:bold;
color:blue;
padding-bottom:10px;
}
</style>
</head>

<body>
<div class = "main">
<marquee class="marq" bgcolor = "Pink" direction = "left" loop="" >
<div class="geek1">Welcome to Wikitechy</div>
<div class="geek2">Kaashiv Infotech</div>
</marquee>
</div>
</body>
</html>

Output

Categorized in:

HTML

Tagged in:

, , , , , , , , ,

Share Article:

Leave a Reply

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock