title: HTML5 input with multiple type attributes
body: <p>Our form software outputs all  elements with 'type="text"', but I'd rather take advantage of the new types in HTML5, such as 'email', 'number', etc.</p>
  
  <p>I can add these in at the end but I end up with multiple type attributes, eg:</p>
  
  <pre><code>&lt;input type="text" name="email" type="email"&gt;
  </code></pre>
  
  <p>If there is more than one 'type' attribute present for an element, which is used - the first or last? And is it valid to have more than one? I'd guess not but trying to get round this situation...</p>