Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <header>
  4. <title>Learn about Layout</title>
  5. <style>
  6. #header {
  7. background-color:black;
  8. color:white;
  9. text-align:center;
  10. padding:5px;
  11. }
  12. #nav {
  13. line-height:30px;
  14. background-color:#eeeeee;
  15. height:300px;
  16. width:100px;
  17. float:left;
  18. padding:5px;
  19. }
  20. #section {
  21. width:350px;
  22. float:left;
  23. padding:10px;
  24. }
  25. #footer {
  26. background-color:black;
  27. color:white;
  28. clear:both;
  29. text-align:center;
  30. padding:5px;
  31. }
  32. </style>
  33. </header>
  34. <body>
  35. <div id="header">
  36. <h1>Ini Bagian Header</h1>
  37. </div>
  38.  
  39. <div id="nav">
  40. <h3>Lorem</h3><br />
  41. <h3>Ipsum</h3><br />
  42. <h3>Dolor</h3><br />
  43. </div>
  44.  
  45. <div id="section">
  46. <h1>London</h1>
  47. <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  48. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
  49. when an unknown printer took a galley of type and scrambled it to make a type specimen book.
  50. It has survived not only five centuries
  51. </p>
  52.  
  53. <p>Contrary to popular belief, Lorem Ipsum is not simply random text.
  54. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.
  55. </p>
  56. </div>
  57.  
  58. <div id="footer">
  59. Copyright © byme.com
  60. </div>
  61.  
  62. </body>
  63. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement