Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>CSS Learning</title>
- </head>
- <body>
- <h2>Why Do We Use CSS?</h2>
- <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>
- <p>CSS helps to make HTML structure look better/fancier</p>
- <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>
- <p>The 3 Important Parts of CSS are: Selectors, Property, and Values</p>
- <p>Image sizes can be edited using either pixels (px) or a percentage (%)
- </p>
- <pre>body { background-color: blue ; }
- h2 or p { font-size: #px ;} or {font-family: Any Font style that you know ; }
- </pre>
- <h1>Try Not To Forget The Semi-Colon</h1>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement