Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <head>
- <title>Rizky Anugrah XI-RPL 2</title>
- </head>
- <body>
- <h1 id="id1">This is Heading</h1>
- <button type="button" onclick="document.getElementById('id'1).style.color = 'red'">
- Click Me!
- </button>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement