Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!-- Gives a name to the tab -->
- <title>Talk</title>
- <!-- Gives formatting to the information -->
- <style></style>
- <!-- Makes the formatting and information dynamic -->
- <script>
- function testJavaScript() {
- alert("hello there")
- }
- </script>
- </head>
- <!-- This is the information! -->
- <body>
- <h1>Web talk</h1>
- <button type="button" onclick="testJavaScript()"> Click me</button>
- </body>
- </html>
Add Comment
Please, Sign In to add comment