Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Simple example of adding javascript in body tag of HTML

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