html怎么做出滚动新闻

html-css07

html怎么做出滚动新闻,第1张

<P style="MARGIN: 0cm 0cm 0pt"><STRONG><SPAN style="FONT-SIZE: 9ptFONT-FAMILY: 宋体" XML:>-</SPAN><SPAN style="FONT-SIZE: 9ptFONT-FAMILY: 宋体">本周亮点<SPAN XML:>-</SPAN></SPAN></STRONG></P>

<P style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 9ptFONT-FAMILY: 宋体"><marquee behavior="scroll" direction="up" width="300" height="65" loop="-1" scrollamount="1.5" scrolldelay="0.5" stytle="font:50px">

<a href='#'>本周图书国庆特大书讯</a>

<br/>

<a href='#'>我们虚位以待 你准备好了吗</a>

<br/>

<a href='#'>本周解码亮相国际书展会</a>

</marquee></SPAN></P>

<P style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 9ptFONT-FAMILY: 宋体" XML:></SPAN></P>

你说的是不是走马灯的效果?直接在html的页面写的是用<marque>标签来写的,例如你说的新闻由上至下的滚动,其写法是:<div><marquee

direction=top

onmouseover="this.stop()"

onmouseout="this.start()"

behavior=scroll>至上而下</marquee>></div>