title: Underscores vs dashes in HTTP parameter names
body: <p>I'm familiar with the convention of using hyphens to separate words in URL paths. What about parameter names, such as within a <code>&lt;form&gt;</code>:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;form&gt;
    &lt;input name="my_special_field"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>is that better or <code>my-special-field</code>? I've seen Google use underscores in analytics with <code>utm_campaign</code> and other parameter names. Underscores read a little better and allow for the occasional hyphen within the name (<code>field_for_5-16-17</code>). But hyphens are certainly the convention for URL paths.</p>
  
  <p>What's the convention for separating words in an HTTP parameter name?</p>