Một số code hiệu ứng chữ
Chắc chắn các bạn đã từng dùng các code cho chữ có màu hoặc tạo hiệu ứng chữ chạy trên trang
BLOG của mình. Tôi muốn chia sẻ cùng với các thầy cô mới bắt đầu lập blog một số code do tôi sưu
tầm được. Chúc các bạn có một trang blog như ý mình!
1.Chữ chạy sang trái
<marquee> BOLO HÓA HỌC</marquee>
2. Chữ chạy sang phải
<marquee direction="right">BOLO HÓA HỌC</marquee>
3.Chữ chạy qua lại :
<marquee behavior="alternate">BOLO HÓA HỌC</marquee>
4. Chữ chạy dưới lên
<marquee direction="up">BOLO HÓA HỌC</marquee>
5. Chữ chạy trên xuống
<marquee direction="down">BOLO HÓA HỌC</marquee>
6. Chữ chạy lên xuống
<marquee direction="up" behavior="alternate">BOLO HÓA HỌC</marquee>
7. Chữ bay hình sin
<marquee behavior="alternate" direction="up" width="80%"><marquee
direction="right">BOLO HÓA HỌC</marquee></marquee>
8. Chữ bay hình chữ Z
<marquee behavior="alternate" direction="up" width="80%"><marquee
direction="right" behavior="alternate">BOLO HÓA HỌC</marquee></marquee>
9. Mũi tên nhấp nháy
<marquee behavior="alternate" width="10%">>></marquee>BOLO HÓA
HỌC<marquee behavior="alternate" width="10%"><<</marquee>
10. Mũi tên chạy ra
<marquee behavior="alternate" width="10%">>></marquee>BOLO HÓA
HỌC<marquee behavior="alternate" width="10%"><<</marquee>
11.Chữ có màu nền
<font color="#FFFFFF"><marquee direction="left" style="background:BLUE">BOLO
HÓA HỌC</marquee></font>
18- Chữ màu chạy trong khung màu:
<marquee style="border:BLUE 2px SOLID">
<b><font color="#3300FF">RẤT HÂN HẠNH ĐƯỢC CÁC BẠN ĐẾN THĂM
</font></b>
</marquee>
Thay Thay BLUE bằng các từ khác để được màu khung theo ý muốn của bạn. Ví dụ:
RED (đỏ), , GREEN (xanh lá cây), PINK (hồng), YELLOW (vàng), VIOLET (tím), BLACK
(đen)....
19) Chữ chạy điều chỉnh được tốc size:
<marquee <font color="#FF0000" size="4"> BLOG HÓA HỌC </font></marquee>
20) Chữ chạy thay đổi tốc độ, size:
<b><marquee direction="left" scrollamount="6" onmouseover="this.stop();"
onmouseout="this.start();"><font color="#FF0000" size="2">BLOG HÓA HỌC
</font></marquee></b>