title: What's the difference between an id and a class?
body: <p>What's the difference between <code>&lt;div class=""&gt;</code> and <code>&lt;div id=""&gt;</code> when it comes to CSS? Is it alright to use <code>&lt;div id=""&gt;</code>?</p>
  
  <p>I see different developers doing this in both ways, and since I'm self taught, I've never really figured it out.</p>