Indonesia
<!--把如下代码加入<body>区域中--> <SCRIPT LANGUAGE="JavaScript"> <!-- Mulai fungsi doColor(item, color, bg) { item.style.color = warna; // mengubah warna teks item.style.backgroundColor = bg; // mengubah latar belakang } function undoColor(item) { item.style.color = "#000000"; // mengembalikan warna menjadi hitam item.style.backgroundColor = ""; // menyetel latar belakang ke default } // Akhir --> </script> <a name="link1" href="http://www.internet.com/" onmouseover="doColor(link1, 'kuning',' hitam');" onmouseout="undoColor(link1);">internet.com</a> <p> <a name="link2" href="http://www.downcodes.com/" onmouseover="doColor(link2, 'biru ','merah');" onmouseout="undoColor(link2);">www.downcodes.com</a>