Thursday, 24 October 2013

Special Effects in HTML - Marquee

If you want your text to move with in the screen, use the tag  <marquee>The text in between the tags will move horizontally.

<marquee bgcolor=pink> will give background color to marquee texts. 

<marquee bgcolor=orange width=100 height=20> will set height and width for marquee text.

<marquee bgcolor="orange" direction="right" height="20" width="100"> will set direction to marquee text.
<html>
<body>

  This is a scrolling text 
 This is a scrolling text with background color
  This is a scrolling text 
This is a scrolling text
This is a scrolling text

</body>
</html>


Copy and download the code and try your self.

No comments:

Post a Comment