marquee标签是HTML标签中创建文字滚动的标签。marquee标签包含有多种属性,用于设置文字滚动时的样式。
marquee 属性:
marquee 用法:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <style> </style> <body> <marquee behavior="scroll" direction="left" loop="-1"> 我是滚动弹幕 </marquee> </body> <script> </script> </html>
复制