.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Code Snippets >> Javascript >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Java Script using in Head and Body

Posted By:NATHAN ISRAEL       Posted Date: September 30, 2012    Points: 40    Category: Javascript    URL: http://www.dotnetspark.com  

Java Script using in Head and Body
 

<html>
<head><title>Sample JS_01</title>
<script language="Javascript" type="text/javascript">
    <!--
        // Single LINE Command
        document.write("I am Inside the Javascript<br>");
        
        document.write("I Use Line <br> Break");
    //-->
    </script>
</head>

<body>
    <p>My First JavaScript</p>
    
    <script language="Javascript" type="text/javascript">
    <!--
        /* Multi-Line
        Command */
         document.write("I am Inside the Javascript<br>");
        
        document.write("I Use Line <br> Break");
    //-->
    </script>
    
    <script language="javascript">
    <!--
            
    //-->
    </script>
    
</body>

</html>

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend