use html and javascript code example
Example: how to enter javascript in html
<script type="text/javascript">
alert("This alert box was called with the onload event");
</script>
<script type="text/javascript">
alert("This alert box was called with the onload event");
</script>