I've noticed many sites use this, without closing the tag.
<script type="text/javascript" src="editor.js">
This style is also recommended but is longer:
<script type="text/javascript" src="editor.js"></script>
Can I write it like this? Is it valid or is there a better way?
<script type="text/javascript" src="editor.js" />