perchè non importi il file .js nell'html?

codice:
 <script language="javascript" src="nomeFile.js"></script>
e poi usi le funzioni come al solito