Skip to content

Instantly share code, notes, and snippets.

@whistlegraph
Created February 4, 2015 23:21
Show Gist options
  • Save whistlegraph/78b5e9e3d43ee6b5020d to your computer and use it in GitHub Desktop.
Save whistlegraph/78b5e9e3d43ee6b5020d to your computer and use it in GitHub Desktop.
Linking external stylesheets and JavaScript files in an HTML document.
<head> <!-- These tags should be placed within the document's head tag, but there are exceptions. -->
<link rel="stylesheet" type="text/css" href="my_stylesheet.css">
<script src="js/my_javascript.js"></script> <!-- Looks for a file called `my_javascript.js` within the directory `your_project/js/`
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment