<script src=”test.js”/> or <script src=”test.js”> </script>?
<script src=”test.js”></script> is correct in HTML5. Self-closed script tag is illegal in html5. The following content after <script src=”test.js”/> will be considered as javascript code until </script> is met. So, […]