<!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>