Javascript Tag

liunx

Guest
DO I have to keep:<br />
<br />
script language="JavaScript"><br />
<br />
between my <head> </head> tags. Or can I put in anywhere?<br />
<br />
Thanks,<br />
Harrison<!--content-->You can keep the tag between the <head> tags or between the <body> tags. If the script sayas to put it in a specific place, then do it.<!--content-->You would put that in the HEAD section to call it up later in the BODY part.<!--content-->Generally speaking if the script is generating HTML code it will go inline at the location in the page.<br />
<br />
If it contains function called by dynamic generation scripts it need to be in the Head or the in the body befor the dynamic script executes.<br />
<br />
But the script tag is valid anywhere in the page.<!--content-->
 
Back
Top