Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26918
| 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" <cmbecker69@arcor.de> |
| 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 | <mcgcs6$v4v$1@solani.org> (permalink) |
| References | <mcgbvo$45v$1@dont-email.me> |
| 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 | <mcgbvo$45v$1@dont-email.me> |
| Cancel-Lock | sha1:egHSt0p1s7MHrwvmbX96uYkdcXo= |
| X-NNTP-Posting-Host | eJwFwYERgDAIA8CVCJD0Oo4i2X8E/1mC5rSopum7+E7hjW2bPUjVk5hY53zo0NTdyF5WGPgBGf0QsQ== |
| Xref | csiph.com comp.lang.javascript:26918 |
Show key headers only | View raw
Tony Johansson wrote:
> Just assume that I have a very simple script tag that looks like this
> <script>
> document.write("This is a test");
> </script>
>
> 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
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is it any fifference where I put the script tag in this example "Tony Johansson" <johansson.andersson@telia.com> - 2015-02-24 00:09 +0100
Re: Is it any fifference where I put the script tag in this example "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-02-24 00:24 +0100
Re: Is it any fifference where I put the script tag in this example "Tony Johansson" <johansson.andersson@telia.com> - 2015-02-24 00:30 +0100
Re: Is it any fifference where I put the script tag in this example Denis McMahon <denismfmcmahon@gmail.com> - 2015-02-24 00:09 +0000
Re: Is it any fifference where I put the script tag in this example JJ <jj4public@vfemail.net> - 2015-02-24 20:46 +0700
csiph-web