Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <body>
- <h2>My First Gist</h2>
- <button type="button"
- onclick="document.getElementById('demo').innerHTML = Date()">
- Click me to display Date and Time.</button>
- <p id="demo"></p>
- </body>
- </html>
Add Comment
Please, Sign In to add comment