Friday, 21 August 2015

Display Current time using Java Script


    <html>
    <head>
        <title>JavaScript in page</title>
    </head>
    <body bgcolor="#CBCBCB">
    <center>
        <h1>Welcome</h1>
        <p><h2>TODYA'S DATE IS:</h2></p>
    <script>
        document.write(Date());
    </script>
    </center>
    </body>
    </html>

No comments:

Post a Comment