Advertisement
makispaiktis

Codecademy - Practising CSS (Example 1 - HTML Code)

Oct 19th, 2019 (edited)
550
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.71 KB | None | 0 0
  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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement