Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Simple example of using external file javascript in html

<html>  
<head>  
<meta charset="utf-8">  
<title>Softhunt.net</title>  
</head>  
<body>  
<form>  
<a href="#" onclick="display()">Click Me</a>/>  
</form>  
<script src="index.js">  
</script>  
</body>  
</html>
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Simple #external #file #javascript #html
ADD COMMENT
Topic
Name
2+7 =