Jumat, 15 Januari 2016

MENAMPILKAN WAKTU DI BROWSING






PROGRAM SEBAGAI BERITKUT

 <html>
<head>
<title> jam </title>
<style>
    body{
    font-size:200px;
    color:blue;


}
</style>
    <meta http-equiv="refresh" content="1">
<script>

    var a,b,c;
    a=new Date().getHours();
    b=new Date().getMinutes();
    c=new Date().getSeconds();
    jam=a+":"+b+":"+c;
    document.write(jam);
</script>

Tidak ada komentar:

Posting Komentar