Advertisement
lessientelrunya

css2

Jun 26th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.74 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <html>
  4.     <head>
  5.         <style>
  6.             body
  7.             {
  8.                 text-align: center;
  9.             }
  10.             #top
  11.             {
  12.                 font-size: 36px;
  13.                 font-weight: bold;
  14.             }
  15.             #middle
  16.             {
  17.                 font-size: 24px;
  18.             }
  19.             #bottom
  20.             {
  21.                 font-size: 12px;
  22.             }
  23.         </style>
  24.         <title>css-1</title>
  25.     </head>
  26.     <body>
  27.         <div id="top">
  28.             John Harvard
  29.         </div>
  30.         <div id="middle">
  31.             Welcome to my home page!
  32.         </div>
  33.         <div id="bottom">
  34.             Copyright &#169; John Harvard
  35.         </div>
  36.     </body>
  37. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement