1/ Text chạy từ phải qua trái
<marquee ><font size=6 color=blue> nội dung</font></marquee>
2/ Text chạy từ trái qua phải
<marquee direction="right"><font size=6 color=blue>nội dung</font></marquee>
3/ Text chạy loăng quăng trong màn hình
<marquee behavior="alternate"><font size=6 color=blue>nội dung</font></marquee>
4/ Text chạy lên
<marquee direction=up><font size=6 color=blue>nội dung</marquee>
5/ Text chạy xuống
<marquee direction=down><font size=6 color=blue>nội dung</marquee>
6/ Text chạy chéo lên :
<marquee direction=up><marquee>nội dung</marquee>
7/ Text chạy chéo xuống
<marquee direction=down><marquee>nội dung</marquee>
Lưu ý:
++ size=6 hay= mấy là tùy theo ý mình...vd:size=3,=5 tuỳ sở thích mỗi người,
++ Phần color=blue hay =mầu gì là tùy theo ý mình...vd:color=red,=Aqua,=Teal tùy sở thích mỗi người
++ Phần nội dung mình thích điền cái gì vào đó cũng đc.
++ Các bạn có thể phối hợp với các mã lệnh để thêm phần sinh động: mã lệnh là những :< marquee >
< marquee direction="right" > nói chung là tùy bạn biến hóa các mã lệnh,lắp ghép cái này với cái kia lại với nhau.
0 nhận xét:
Đăng nhận xét