Using the Head for Definitions : JavaScript in HTML : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » JavaScript in HTML »

 

Using the Head for Definitions




<HTML>
<HEAD>
<TITLE>Using the HEAD for definitions</TITLE>
<SCRIPT language="JavaScript">
<!--
    greeting = "Hi Web surfers!"
// -->
</SCRIPT>
</HEAD>

<BODY>
<SCRIPT language="JavaScript">
<!--
    document.write(greeting)
// -->
</SCRIPT>
</BODY>
</HTML>
           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» JavaScript in HTML