The Tag : SCRIPT Tag : Language Basics JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Language Basics » SCRIPT Tag »

 

The Tag

















Any browser that doesn't support JavaScript or has it disabled renders the content of <noscript/>.

<html>
    <head>
        <title>Title of Page</title>
        <script language="JavaScript">
            function sayHi() {
                alert("Hi");
            }
        </script>
    </head>
    <body>
        <script language="JavaScript">
             sayHi();
        </script>
        <noscript>
            <P>Your browser doesn't support JavaScript. If it did support
JavaScript, you would see this message: Hi!</p>
        </noscript>
        <P>After noscript.</p>
    </body>
</html>







HTML code for linking to this page:

    Related in same category :
Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Language Basics
» SCRIPT Tag