Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26918
| 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 | 2015-02-24 00:24 +0100 |
| Organization | solani.org |
| Message-ID | <mcgcs6$v4v$1@solani.org> (permalink) |
| References | <mcgbvo$45v$1@dont-email.me> |
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