This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Sunday 3 May 2015

Belajar Marquee HTML


MARQUEE

Pernahkan melihat pergerakan text bergerak maju mundur atau keatas kebawah , semua itu dibuat menggunakan script sederhana yaitu marquee.

Apa itu marquee ? Marquee adalah suatu program HTML untuk membuat teks bisa bergerak atau berjalan. Program marquee ini banyak diminati dan di pakai oleh para blogger di dalam blognya karena sifat program ini yang “dinamis” serta menarik untuk di lihat disamping untuk menghemat tempat pada halaman blog.

Untuk penerapannya dalam HTML diawali dengan tag pembuka <marquee>....dan diakhiri dengan </marquee>.

Didalam marquee terdapat beberapa attribut di dalamnya,antara lain :

ATTRIBUTE KETERANGAN
BGCOLOR Untuk mengatur warna belakang / background warna pada teks berjalan
Contoh <marquee bgcolor=yellow>tulisan dengan layar belakang kuning</marquee>

DIRECTION Mengatur arah gerakan teks, yaitu : left, right, up ,down
Contoh <marquee direction=right> Bergerak ke kanan </marquee>

<marquee direction=up> Bergerak ke atas </marquee>
<marquee direction=down> Bergerak ke turun</marquee>

BEHAVIOR Cara atau teknik dari marquee untuk mengatur perilaku gerakannya atau menjalankan teks, Nilainya antara lain: scroll, slide, alternate
 • Scroll = mengulang searah teks
• Slide = menggulung searah teks
• Alternate = bergerak / berjalan bolak – balik

Contoh <marquee behavior=scroll> mengulang searah teks atau default marquee</marquee>

<marquee behavior=slide> menggulung searah teks, lalu berhenti</marquee>
<marquee behavior=alternate> teks bergerak bolak - balik</marquee>

WIDTH Mengatur lebar blok teks dalam pixel dan persen
HEIGHT Mengatur tinggi blok teks dalam pixel atau persen
Contoh <marquee width=200 height=200> ini teksnya dengan lebar 200 tinggi 200 pixel</marquee>

TITLE Pesan akan muncul pada saat mouse berada diatas teks
Contoh <marquee title=judul>tulisan title judul pada saat mouse di teks berjalan</marquee>

SCROLLAMOUNT Mengatur kecepatan gerakan dalam pixel, semakin besar angka semakin cepat gerakannya.
Contoh <marquee scrollamount=1>tulisan dengan scrollamount 1</marquee>

SCROLLDELAY Mengatur waktu tunda gerakan dalam milidetik, semakin besar angka semakin lambat dan patah-patah gerakannya.
Contoh <marquee scrolldelay=1000>marquee scrolldelay=1000</marquee>

LOOP Membatasi jumlah perulangan
Contoh <marquee loop=5>Maka akan diulang sebanyak 5 kali</marquee>

STYLE Kemampuan tambahan untuk memformat font, color , dan posisi.
Contoh <marquee style=”font-family:arial;font-size=36;color:red;text-align:left”>Maka akan diulang sebanyak 5 kali</marquee>

luvne.com resepkuekeringku.com desainrumahnya.com yayasanbabysitterku.com