Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.javascript Subject: Re: Is it any fifference where I put the script tag in this example Date: Tue, 24 Feb 2015 00:24:54 +0100 Organization: solani.org Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1424733894 31903 eJwFwYcBwDAIA7CXwrBpz2GE/0+IBKOwwwk6FnvDwE3p+epOsNyRkB3TOtW1q6l+JGilrv8DLtMRTw== (23 Feb 2015 23:24:54 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Mon, 23 Feb 2015 23:24:54 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 X-User-ID: eJwNy8ERACEIBLCWEGQ9yjlY6L8EfWfihoU6G47t48PWyi4Ja0bKzxVd1NlPwDSVg1e+SVeW8wJGSBJM In-Reply-To: Cancel-Lock: sha1:egHSt0p1s7MHrwvmbX96uYkdcXo= X-NNTP-Posting-Host: eJwFwYERgDAIA8CVCJD0Oo4i2X8E/1mC5rSopum7+E7hjW2bPUjVk5hY53zo0NTdyF5WGPgBGf0QsQ== Xref: csiph.com comp.lang.javascript:26918 Tony Johansson wrote: > Just assume that I have a very simple script tag that looks like this > > > Then is it just the equivalent if I put this script tag within header > tag or within the body tag. I suggest you try it out. You'll notice the difference quickly. BTW: it is not a script *tag*, but rather a script *element*. -- Christoph M. Becker