For example, in this code, it works with the div id to implement a text scroll effect that complies with W3C standards. Here you only need to assign marquee an id to control the text, A friend who does not understand the code can read the code.
<HTML> <HEAD> <META http-equiv = Content-Type content = "text/html; charset = gb2312 "> <title> batch text scrolling </title> </HEAD> <BODY> <MARQUEE id = a onmouseover =. stop () style = "FONT-SIZE: 9pt; COLOR: white" onmouseout =. start () scrollAmount = 2 direction = up width = 150 bgColor = # 6699ff height = 150> script House (jb51.net) provides various programming source code, book tutorials, JavaScript/CSS special effects code, and common software downloads for a quality learning Source Code download site. </MARQUEE> </BODY> </HTML>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]