title: Micro Optimization of HTML
body: <p>Just for fun, I am doing some micro optimization of a site.</p>
  
  <p><strong>Q1)</strong>
  What more can I remove/optimize on a HTML site (not inline CSS or JavaScript):</p>
  
  <ul>
  <li><p><a href="http://www.w3.org/TR/html5/syntax.html#syntax-tag-omission" rel="nofollow">http://www.w3.org/TR/html5/syntax.html#syntax-tag-omission</a></p></li>
  <li><p>Change doctype into <code>&lt;!DOCTYPE html&gt;</code></p></li>
  <li><p>Remove unneeded comments, space and linebreaks</p></li>
  <li><p>All quotes from attributes (attributes that consist from a single
  word).</p></li>
  <li><p>Turn necessary double quotes into single quotes.</p></li>
  <li><p>Remove type="text" from inputs.</p></li>
  </ul>
  
  <p><strong>Q2)</strong>
  "A head element's start tag may be omitted if the element is empty, or if the first thing inside the head element is an element."
  Does <code>&lt;title&gt;</code> count as an element?</p>
  
  <p><strong>Q3)</strong>
  Can I go with <code>&lt;link href="/css/style.css"&gt;</code> istead of &lt;<code>link rel=stylesheet type="text/css" href="/css/style.css"&gt;</code>? If so, will I have to set header respons in htaccess?</p>
  
  <p><strong>Q4)</strong>
  Are there any technical drawbacks optimizing static HTML files like this? Eg. CPU cost, Google Robots, problem with javascript, moblie devices or anything else?</p>
  
  <p><strong>Note:</strong> I am aware of that this wont affect any noticeable page speed. This is more for fun.</p>