title: Should I put input elements inside a label element?
body: <p>Is there a best practice concerning the nesting of <code>label</code> and <code>input</code> HTML elements?</p>
  
  <p>classic way:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;label for="myinput"&gt;My Text&lt;/label&gt;
  &lt;input type="text" id="myinput" /&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;label for="myinput"&gt;My Text
     &lt;input type="text" id="myinput" /&gt;
  &lt;/label&gt;
  </code></pre>