Home >Web Front-end >HTML Tutorial >Example of automatic stop effect after text scrolls

Example of automatic stop effect after text scrolls

高洛峰
高洛峰Original
2017-02-23 13:20:481568browse

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!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn