Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>CSS Learning</title>
  5. </head>
  6. <body>
  7. <h2>Why Do We Use CSS?</h2>
  8. <p>We use CSS because the functions of CSS allows one to select and change the desired parts of his or her HTML code</p>
  9. <p>CSS helps to make HTML structure look better/fancier</p>
  10. <p>To change the background color: [background + - +any proper color +: And a color of your choice] so it looks like this: background-color: Blue</p>
  11. <p>The 3 Important Parts of CSS are: Selectors, Property, and Values</p>
  12. <p>Image sizes can be edited using either pixels (px) or a percentage (%)
  13. </p>
  14. <pre>body { background-color: blue ; }
  15. h2 or p { font-size: #px ;} or {font-family: Any Font style that you know ; }
  16. </pre>
  17. <h1>Try Not To Forget The Semi-Colon</h1>
  18. </body>
  19. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement