<html>

  <body>

    <p id="demo>HTML Javascript</p>

           

           <script>

           document.getElementId("demo").innerHTML = "This was done via javascript;"

           </script>

                       

                                                                                    <noscript>Sorry, but javascript is not supported in your browser</noscript>

                                                                                    <p>This is basic javascript.  To view this page in java it is vital that its put like this.<br>

                                                                                    <br>

                                                                                    <b>A browser without support for JavaScript will show the text written inside the noscript element.</p>

 

                                                                                    </body>

                                                                                    </html>


 

© Alan Masterton