Advertisement
mydesign2017

HTML JavaScript

Aug 10th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.35 KB | None | 0 0
  1. HTML JavaScript
  2. <!DOCTYPE html>
  3. <html>
  4. <body>
  5.  
  6. <h1>My First JavaScript</h1>
  7.  
  8. <button type="button"
  9. onclick="document.getElementById('demo').innerHTML = Date()">
  10. Click me to display Date and Time.</button>
  11.  
  12. <p id="demo"></p>
  13.  
  14. </body>
  15. </html>
  16. For the full topic download the codes from this Notepad file on Mediafire:
  17. http://viahold.com/1JT6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement