On Thu, 11 Dec 2008 18:12:29 +1300, "Nik Coughlin"
<> wrote:
>"richard" <> wrote in message
>news:.. .
>> On Wed, 10 Dec 2008 18:35:14 -0800 (PST), shapper <>
>> wrote:
>>
>>>Hello,
>>>
>>>I am checking my web site according to Yahoo Best Practices and I get
>>>a warning:
>>>
>>>Put JS at the bottom
>>>8 external scripts were found in the document HEAD. Could they be
>>>moved lower in the page?
>>>
>>>But shouldn't external scripts be loaded on the page head?
>>>
>>>Thanks.
>>>Miguel
>>
>>
>> JS can be placed anywhere it is needed.
>> Some script is better at the bottom but not ALL script.
>> External scripts go in the "head".
>> Screw their "best".
>
>All script should be external to the page and referenced in the head only.
>
>http://en.wikipedia.org/wiki/Unobtrusive_JavaScript
that source is about as authoratative as the posters in this group.
the wiki is not the "holy grale".
There are times when JS MUST be deployed at the bottom or in the
<body> tag. JS can also be deployed within other tags as needed.
you should try reading info at the w3c school reference site.