JavaScript Efek Teks Pelangi
Pertama-tama masuklah ke halaman tata letak elemen halaman , kemudian tambahkan sebuah elemen halaman HTML/JavaScript . Salin kode ini, kemudian letakkan di dalam formulirnya: <style type="text/css"> #highlight{font:bold 50px Impact,Arial,Sans-Serif;} </style> <script language="javascript" type="text/javascript"> var teks=" EFEK PELANGI " // teks Anda di sini var speed= 20 // atur kecepatan perubahan warna if (document.all||document.getElementById) { document.write('<span id="highlight">' + teks + '</span>') var storetext=document.getElementById? document.getElementById("highlight") : document.all.highlight } else document.write(text) var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0") var r=1 var g=...