Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTML JavaScript
- <!DOCTYPE html>
- <html>
- <body>
- <h1>My First JavaScript</h1>
- <button type="button"
- onclick="document.getElementById('demo').innerHTML = Date()">
- Click me to display Date and Time.</button>
- <p id="demo"></p>
- </body>
- </html>
- For the full topic download the codes from this Notepad file on Mediafire:
- http://viahold.com/1JT6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement