The content introduced in this article is the left and right movement of HTML text
HTML marquee element (
onmouseover=this.stop() onmouseout =this.start() means that the scrolling stops when the mouse is above the area, and continues to scroll when the mouse moves away
Code:
<marquee vspace="10px" hspace="6px" direction="right" behavior="scroll" scrollamount="3" align="middle" bgcolor="aqua" width="300px" height="20px">
Copy after login
Add scrolling content
##Related recommendations:
HTML implementation of background image replacement
The above is the detailed content of Move HTML text left and right