Advertisement
wclendining

HTML-wStyleHeaderContentFooter

Mar 14th, 2015
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.49 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.    <head>
  4.    <style>
  5.       header {border: dashed #666699 1px }
  6.       article {border: solid #000099 1px;}
  7.       footer {border: dotted #003399 1px;}
  8.    </style>
  9.    </head>
  10. <body>
  11.    <header>
  12.       <h1>This is my site</h1>
  13.    </header>
  14.    <article>
  15.       <h1>Integer bibendum pharetra</h1>
  16.       <p>Nullam tempus nisi turpis, sit amet volutpat dui varius ac.</p>
  17.    </article>
  18.    <footer>
  19.       <h2>This is the footer</h2>
  20.    </footer>
  21. </body>
  22. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement