Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26917

Is it any fifference where I put the script tag in this example

From "Tony Johansson" <johansson.andersson@telia.com>
Newsgroups comp.lang.javascript
Subject Is it any fifference where I put the script tag in this example
Date 2015-02-24 00:09 +0100
Organization A noiseless patient Spider
Message-ID <mcgbvo$45v$1@dont-email.me> (permalink)

Show all headers | View raw


Hello!

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.

//Tony 

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


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