Example of internal JavaScript
<html>
<head>
<title>Creativemission-research & training center</title>
<style type="text/css">
body{ background:#000; color:#fff;}
#info{background:#006699;color:#eee;}
</style>
<script type="text/javascript">
function mywork(){
alert('value of confirm='+v);
}
</script>
</head>
<body>
<div id="info" onmouseover="mywork();">
this is an information box.</div>
</body>
</html>
Output: