示例笔记 | CSDN | 帮助 | Markdown |
不骄不躁,脚踏实地勇往直前。
<!--
behavior: slide(只滚动一次) alternate(来回滚动) 默认循环滚动
direction: 滚动方向 up down left right 默认从右向左
scrollamount:值越大,滚动速度越快
-->
<marquee behavior="alternate" direction="right" scrokkanount="100" bgcolor="skyblue">
<h1>我是首页</h1>
</marquee>
<!--鼠标悬停,滚动停止 鼠标离开,滚动继续-->
<marquee behavior="alternate" direction="left" onmouseover="this.stop()" onmouseout="this.start()">
<img src="images/favicon.ico" alt="favicon" width="200">
<p><a href="hobby.html">我的爱好</a></p>
<p><a href="home.html">我的家乡</a></p>
</marquee>
<!-- 森林冰火人 -->
<marquee behavior="alternate" direction="right" onmouseover="this.stop()" onmouseout="this.start()">
<p>
<a href="4399.html">
<img src="http://5b0988e595225.cdn.sohucs.com/q_70,c_zoom,w_640/images/20181124/2e897d60772f4603b16424bcfa36d273.jpeg" alt="qq" width="100">
</a>
</p>
</marquee>