Now that the type attribute of the <script> tag can be omitted in HTML5, is this the fewest number of characters required to include external JavaScript on a page?
<script src="URL"></script>
Can anyone optimise it any more than this – what about if a framework such as jQuery was already loaded, is there an even shorter way?
You could omit the quotes for the attribute:
As well, with XHTML5 the following should work: