Summary of Best Practices

Contact Us or call 1-877-932-8228
Summary of Best Practices

Summary of Best Practices

Below is a table summarizing the practices discussed in this lesson. The right-most column contains a number between 1 and 3.

  1. A 1 means we think you should absolutely follow this practice.
  2. A 2 means we think it makes a lot of sense to follow this practice, but recognize that there might be some reasons not to.
  3. A 3 means we think you should consider it, but don't consider it mandatory.
Summary of CSS Best Practices
Best Practice Benefits *
Use CSS
  • Cleaner code
  • Faster development
  • Speedier download
  • Greater control
1
Use External Style Sheets
  • Cleaner code
  • Faster development
  • Speedier download
1
ID the Body
  • Greater control
2
Use CSS Shorthand
  • Speedier download
  • Cleaner code
  • Faster development
2
Combine Rules
  • Speedier download
  • Cleaner code
2
Use a CSS Reset
  • Greater control
  • Cleaner code
  • Faster development
1.2
Use the "LoVe HAte" Rule
  • Speedier download
1
Use HTML Lists for Navigation Menus
  • Accessibility
1
Avoid CSS Hacks
  • Cleaner code
  • Faster development
2
Use a CSS Compressor
  • Speedier download
2
Use a Master Style Sheet
  • Cleaner code
3
Next