title: Code by Paul Irish - Good or bad practise?
body: <p>I was checking the view source of the site <a href="http://mothereffinghsl.com/" rel="nofollow">http://mothereffinghsl.com/</a> . It was coded by <a href="http://paulirish.com/" rel="nofollow">Paul Irish</a></p>
  
  <p>In the code the id of the html elements are not enclosed in quotes for few elements. For other elements the id is enclosed in quotes. Is this a good practice. Is it a mistake or purposefully omitted? I dont think a person like Paul has overlooked it.</p>
  
  <pre><code>&lt;div id="main" role="main"&gt;
  &lt;h1&gt;Mother-effing &lt;span&gt;hsl()&lt;/span&gt;&lt;/h1&gt;
  &lt;canvas width=360 height=100&gt;&lt;a href="http://noyoueatabagofdicks.com/"&gt;your browser doesnt support canvas.&lt;/a&gt;&lt;/canvas&gt;
  &lt;span id=loading&gt;one sec, bro.&lt;/span&gt;
  &lt;label id=sat&gt;Saturation&lt;/label&gt;
  </code></pre>
  
  <p>What are your thoughts?</p>
  
  <p><strong>Edited after accepting the answer</strong></p>
  
  <p>Conclusion:</p>
  
  <p>In html5 quotes are not necessary, but recommend for reasons mentioned in the comments.</p>
  
  <p>Also its NOT a good practice to use quotes for some attributes and not for some other even though it is supported.</p>