Aapka Apna blog jo kre apki problem Solve

Saturday, 6 July 2019

Display Date and Time with javascript

Display Date and Time with javascript




 Code here


 <!DOCTYPE html>

 <html>

 <head>

  <title> Date And Time</title>

 </head>

 <body>

 

  <h1> Display Date And Time with Javascript</h1>


 <button onclick="document.getElementById('demo').innerHTML= Date()"> Display Date And Time</button>


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

 </body>

 </html>


Share:

0 Comments:

Post a Comment

loading...