Skip to main content

Note - 1. Home

 <!DOCTYPE html>

<html>

This java script Helps to show current timing...



<body>


<h2>My First JavaScript</h2>


<button type="button"

onclick="document.getElementById('demo').innerHTML = Date()">

Click me to display Date and Time.</button>


<p id="demo"></p>


</body>

</html> 


Comments