kode html untuk buat password
<script type="text/javascript">
<!-- Begin
var password;
var pass1 = "password"; // place password here
password=prompt("Please enter your password:","");
if (password==pass1) {
window.location= "http://yahoo.com"; // file to open if password is correct
} else {
window.location= "http://yahoo.com"; // file to load if password is incorrect
}
// End -->
</script>
<!-- Script Size: 0.81 KB -->