SHARE
TWEET

Untitled

a guest Nov 15th, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <!-- Gives a name to the tab -->
  5.     <title>Talk</title>
  6.    
  7.     <!-- Gives formatting to the information -->
  8.     <style></style>
  9.  
  10.     <!-- Makes the formatting and information dynamic -->
  11.     <script>
  12.    
  13.     function testJavaScript() {
  14.       alert("hello there")
  15.     }
  16.    
  17.     </script>
  18.  
  19. </head>
  20.  
  21. <!-- This is the information! -->
  22. <body>
  23.    
  24.     <h1>Web talk</h1>
  25.     <button type="button" onclick="testJavaScript()"> Click me</button>
  26.    
  27. </body>
  28. </html>
RAW Paste Data
Top