Created
March 19, 2012 12:47
-
-
Save kdabir/2110793 to your computer and use it in GitHub Desktop.
Including external and inline javascript and css in html file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Including javascript and css in html</title> | |
<script type="text/javascript" src="jquery-1.7.1.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
alert('hello world!'); | |
}); | |
</script> | |
<link rel="stylesheet" href="styles.css" media="screen" /> | |
<style type="text/css"> | |
body {font-family: Arial, sans-serif;} | |
</style> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment