title: HTML 5 Validation Error
body: <p>StackOverflow,</p>
  
  <p>I'm a NOOB learning slowly.  I got some errors  when trying to validate the following code in HTML 5 validator and don't know where the errors are:</p>
  
  <pre><code>    &lt;!DoctypeHTML&gt;
      &lt;HTML&gt;
      &lt;head&gt;
      &lt;title&gt; Javascript Programming!&lt;/title&gt;
      &lt;script type = “text/javascript”&gt;
      &lt;function substitute () {
      var  MyValue = document.getElementID (‘mytextbox’).value;
      If (myValue ==0) {
      alert(‘please enter a real value in the box’);
      Return;
      }
      Var myTitle = document.getElementbyID (‘title’)
      myTitle.innerHTML = myValue;
      }
      &lt;/head&gt;
      &lt;body&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>Errors:  Error: Bad value “text/javascript” for attribute type on element script: Expected a token character but saw “ instead.
  From line 5, column 2; to line 5, column 34
  ↩   ↩  
  
  <p>Error: End of file seen when expecting text or an end tag.
  At line 18, column 7
  dy>↩</p>
  
  <p>Error: Unclosed element script.
  From line 5, column 2; to line 5, column 34
  ↩   ↩  
  
  <p>Any feedback?  Thanks guys and gals.</p>
  
  <p>PreYvin</p>