How do you reference an external javascript file?

H

Henry Stock

<link href="styles.css" rel="stylesheet" type="text/css" />

If this is a link to an external style sheet then what would a link to an
external javascript file look like?
 
T

Trevor Lawrence

Henry Stock said:
<link href="styles.css" rel="stylesheet" type="text/css" />

If this is a link to an external style sheet then what would a link to an
external javascript file look like?

<script type="text/javascript" src="scripts/external.js"></script>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top