title: What is the difference between <script type='text/javascript'> and <script>?
body: <p>If I use just <code>&lt;script&gt;</code>, with JavaScript after, followed by <code>&lt;/script&gt;</code>, inside an HTML document, my JavaScript loads just fine in the browser. I see some examples on-line use <code>&lt;script type='text/javascript'&gt;</code>, followed by <code>&lt;/script&gt;</code>, though. Are there any advantages or differences to using these? Is my code incorrect if I am just using <code>&lt;script&gt;</code> around JavaScript?</p>