External JavaScript Example - HTML CSS HTML

HTML CSS examples for HTML:Script

Description

External JavaScript Example

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html lang="en">
 <head> 
  <meta charset="UTF-8"> 
  <title>External JavaScript Example</title> 
 </head> <!--   ww  w . j  a  v  a 2s .  c o  m-->
 <body> 
  <script type="text/javascript" src="../js/hello.js"></script>   
 </body>
</html>

Related Tutorials