<script src="arquivo.js"></script>
</body>
</html>
</body>
<script src="arquivo.js"></script>
</html>
Ou na tag head com a atributo [[defer]] para carregar o arquivo após o código hyper text markup language e cascading style sheets.
Fontes: Projetos pessoais Tags: #softwaredevelopment