Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is my example of my button
- <!DOCTYPE html>
- <html>
- <body>
- <h4>My first button</h4>
- <button type="button"
- onclick="document.getElementById('demo').innerHTML = Date()">
- If you click on me you will be able to see your time.</button>
- <p id="demo"></p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement