Home >Web Front-end >HTML Tutorial >Example of automatic stop effect after text scrolls
The effect is very simple, just copy the following code to your own page and run it
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title> </head> <body > <P align=left><MARQUEE height=293 behavior=slide width=550 loop=1 scrollAmount=1 scrollDelay=100><FONT style="FONT-SIZE: 18pt; FONT-FAMILY: 方正姚体; COLOR: #ea0000" color=#ff0000> 代码滚动 </FONT> </MARQUEE></P> </body> </html>
For more examples of automatic stop effect after text scrolling, please pay attention to the PHP Chinese website for related articles!