<html>
<body>
<script>
function clickevent()
{
alert("HELLO WORLD");
}
</script>
<input type="button" onclick="clickevent()" value="CLICK HERE">
</body>
</html>
<html>
<head></head>
<body>
<script >
function mouseover()
{
alert("Wake Up");
}</script>
<p onmouseover"mouseover()"> Here </p>
</body></html>