Internal JavaScript Examples in JavaScript

Definition :

           It is a process of writing java script code within the web page then it is called as internal java script.

Program :

<html>

     <head>

                    <script language=”javascript”>

                                     function display ()

                                                 {

                                                 }

                                </script>

                </head>

                <body>

                     <input type=”button” value=”click me” onclick=”display()”/>

                </body>

</html>

Leave a Reply

Your email address will not be published. Required fields are marked *