Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8>
  5. <title>Hunter Kohlsmith</title>
  6. <style>
  7. body {background-color: #008500; font-family: arial;}
  8. h1 {text-align: center; color: #67e667;}
  9. p {text-align: justify; color: #ffffff;}
  10. section {background-color: #a60000; width: 500px; height: 200px; border: solid #000000 4px; padding: 8px;}
  11. span {background-color #67e667; padding: 5px; border: solid #000000 1px; font-weight: bold;}
  12. </style>
  13. </head>
  14. <body>
  15. <header>
  16. <h1>Cascading Style Sheets</h1>
  17. </header>
  18. <section>
  19. <span>External Style Sheets</span>
  20. <p>External style sheets should be used to set the overall styles for multiple pages of a web site. The style rules are defined on a separate file and attached to the pages of the site that use those styles.</p>
  21. </section>
  22. <section>
  23. <span>Embedded Sytle Sheets</span>
  24. <p>Embedded style sheets should be used to set the style rules for a single page. The style rules are defined within the heading of the document between style tags. </p>
  25. </section>
  26. <section>
  27. <span>Inline Style Sheets</span>
  28. <p>Inline style sheets are defined on the individual tag as an attribute. They are used to add style to a single tag, or override a higher level style rule. The range of the inline style ends witht the tag is applied to.</p>
  29. </section>
  30. </body>
  31. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement