Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Simple example of adding javascript in HTML

<!DOCTYPE html >  
<html>  
<head>  
<title>Softhunt.net</title>  
<script>  
document.write("Welcome to Softhunt.net Tutorial Website");  
</script>  
</head>  
<body>  
<p>In this example we saw how to add JavaScript in the head section </p>  
</body>  
</html>
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Simple #adding #javascript #HTML
ADD COMMENT
Topic
Name
7+2 =