SHARE
TWEET

Codecademy - Practising CSS (Example 1 - HTML Code)

makispaiktis Oct 19th, 2019 (edited) 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en" dir="ltr">
  3.   <head>
  4.     <meta charset="utf-8">
  5.     <title>Missing Semicolons</title>
  6.     <link rel="stylesheet" href="style.css">
  7.   </head>
  8.   <body>
  9.     <h3>CSS Tips and Tricks</h3>
  10.     <p class="tips" id="one">
  11.       Use classes when you have a elements that share many similar characteristics.
  12.     </p>
  13.     <p class="tips" id="two">
  14.       Use an ID when you have one element that has unique characteristics.
  15.     </p>
  16.     <p class="tips" id="three">
  17.       Keep your code D.R.Y. (Don't Repeat Yourself!).
  18.     </p>
  19.     <p class="tips" id="four">
  20.       Double check your syntax: End declarations with semicolons(;) and check that properties exist!
  21.     </p>
  22.   </body>
  23. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top