Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Simple example of using inline javascript in html

<!DOCTYPE html >  
<html>  
<head>  
<title>Softhunt.net</title>  
</head>  
<body>  
<p>  
<a href="#" onClick="alert('Welcome to Softhunt.net Tutorial Website');">Click Me</a>  
</p>  
<p> in this example we saw how to use inline JavaScript or directly in an HTML tag. </p>  
</body>  
</html>
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Simple #inline #javascript #html
ADD COMMENT
Topic
Name
7+7 =