Thursday, May 10, 2012

HTML: a text box with moving text Using Marquee tag



You do not have to use JavaScript to generate dynamic text. You can use Marquee tag to generate
dynamic text. The Marquee tag creates a scrolling effect and can be tailored to include any HTML content. The detail of how to use Marquee text can be found in:
http://www.htmlmarquee.com/

Example code of generating of a text box with moving text using  Marquee tag  as below:
<TABLE height=300 cellSpacing=0 cellPadding=0 width=500 align=center border=3>
<TBODY>
<TR>
<TD>
<P align=center>
<MARQUEE scrollAmount=3 direction=up>
<P align=center><FONT  color=#228c45 size=18>Welcome</FONT></P>
<P align=center><FONT  color=#228c45 size=18>To</FONT></P>
<P align=center><FONT  color=#228c45 size=18>My Blog </FONT></FACE></SIZE></COLOR></P></MARQUEE></P></TD></TR></TBODY></TABLE>

Result:

Welcome
To
My Blog

No comments:

Post a Comment