title: language="javascript" vs. type="text/javascript"
body: <p>For adding JavaScript to HTML, I have seen people use</p>
  
  <pre><code>&lt;script language=javascript&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  </code></pre>
  
  <p>It doesn’t seem like whether the script is embedded or external influences this decision.</p>
  
  <p>Which one is preferred and why?</p>