Advertisement
glitchdetector

[HTML] Simple Base Example

Oct 12th, 2016
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.92 KB | None | 0 0
  1. <!doctype html>
  2. <head>
  3.     <title> WEBSITE TITLE </title>
  4.     <meta charset="utf-8">
  5.    
  6.     <script type="text/javascript">
  7.         window.onload = function() {
  8.             // Run code here when page loads
  9.            
  10.         }
  11.     </script>
  12.    
  13.     <style type="text/css">
  14.         /* Add styling to elements here */
  15.        
  16.         .red {
  17.             color: red;
  18.         }
  19.        
  20.         .green {
  21.             color: green;
  22.         }
  23.        
  24.         footer {
  25.             font-style: italic;
  26.         }
  27.        
  28.     </style>
  29.    
  30. </head>
  31. <body>
  32.    
  33.     <!-- Add elements to the website here! -->
  34.     <h1>Welcome to my webpage!</h1>
  35.    
  36.     <p>I can style text, it can be <span class="red">red</span> or it can be <span class="green">green</span>!</p>
  37.    
  38.     <p class="red">All of this is red!</p>
  39.    
  40.     <button>BUTTONS</button>
  41.    
  42.     <footer>Cawpyrait @ me 2012</footer>    
  43.    
  44. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement