MARQUEE TAG
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
</head>
<body>
<div style="border: solid 5px black;">
<h1 >ZEE25</h1>
<h2>marquee</h2>
<marquee style="background-color:gray;color:yellow" scrollamount="5" direction="right" height="5%" width="100%" behavior="alternatescroll">@ZEE25</marquee>
</div>
</body>
</html>
The scrolling behavior is specified by behavior ("scroll" for continuous scrolling).direction indicates the way the scroll is to be made ("left" in this example).Once more, for dynamic and interactive effects on a webpage, CSS or JavaScript are recommended since they provide better control and allow style and behavior to be separated from the HTML structure.
0 Comments