Hi ! friends,
I'm Deepak Sharma, I'm very excited to share what I have learned today about an element of HTML coding.
In morning,I was thinking to stay in home due to fever. But I went to my class in IICS(Indian institute of computer science).
And I got to learn about a very wonderful element of HTML,which is called "Marquee".
Let's see the code,what I have got to know about Marquee,
<html>
<head>
<title>Marquee</title>
</head>
<body>
<marquee><h1>Deepak Sharma 26</h1>
</marquee>
<marquee direction="right">Deepakcodes,you can also use down, left, up.
</marquee>
<marquee scrollamount=20>Deepakcodes
</marquee>
<marquee width=150 height=50>deepakcodes
</marquee>
<marquee behavior="alternate">you can also use scroll, slide.
</marquee>
<marquee bgcolor="red">deepakcodes
</marquee>
<marquee hspace=20 vspace=20>Deepak Sharma 26
</marquee>
<br>
<br>
<marquee onmouseover="this.stop();" onmouseout="this.start();">
This is a function to stop,when you click on moving text and after clicking some where else it starts moving.
</marquee>
</body>
</html>
The output is:
You can also try it,yourself this is good brushup to your skills.

No comments:
Post a Comment