SyntaxError: expected expression, got '<' - javascript
<p>So I looked around <code>stackoverflow</code> and i see that this may have been asked before but I cannot wrap my head around the error.</p>

<p>I get this error :</p>

<pre><code>SyntaxError: expected expression, got '&lt;' // first line
</code></pre>

<p>but my first line there is no error :</p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
</code></pre>