<script> allowing more than one URI reference in SRC attribute?

Discussion in 'HTML' started by Axel Dahmen, Oct 25, 2007.

  1. Axel Dahmen

    Axel Dahmen Guest

    Hi,

    I just noticed that XING uses a strange notation in their <script> tag. Instead of using several <script> tags (one tag for each URI) they are using one single <script> tag having a comma separated list of URIs in its SRC attribute.

    Is this valid HTML? Or is this some hidden but accepted feature? Or is this just something their web server uses to generate one single, big, JavaScript file?

    Can someone please enlighten me?

    TIA,
    Axel Dahmen
     
    Axel Dahmen, Oct 25, 2007
    #1
    1. Advertising

  2. On Oct 25, 9:43 am, "Axel Dahmen" <> wrote:
    > I just noticed that XING uses a strange notation in their <script> tag. Instead of using several <script> tags (one tag for each URI) they are using one single <script> tag having a comma separated list of URIs in its SRC attribute.


    No, they have one URI which has commas in it.

    > Is this valid HTML?


    yes

    > Or is this some hidden but accepted feature?


    nothing hidden about it

    > Or is this just something their web server uses to generate one single, big, JavaScript file?


    What happens on the server is not transparent. That's a possible
    scenario.

    --
    David Dorward
    http://dorward.me.uk/
    http://blog.dorward.me.uk/
     
    David Dorward, Oct 25, 2007
    #2
    1. Advertising

  3. Axel Dahmen

    Axel Dahmen Guest

    I see... Thanks, David, for enlightening me!

    Best regards,
    Axel Dahmen


    --------------
    "David Dorward" <> schrieb im Newsbeitrag news:...
    > On Oct 25, 9:43 am, "Axel Dahmen" <> wrote:
    > > I just noticed that XING uses a strange notation in their <script> tag. Instead of using several <script> tags (one tag for each URI) they are using one single <script> tag having a comma separated list of URIs in its SRC attribute.

    >
    > No, they have one URI which has commas in it.
    >
    > > Is this valid HTML?

    >
    > yes
    >
    > > Or is this some hidden but accepted feature?

    >
    > nothing hidden about it
    >
    > > Or is this just something their web server uses to generate one single, big, JavaScript file?

    >
    > What happens on the server is not transparent. That's a possible
    > scenario.
    >
    > --
    > David Dorward
    > http://dorward.me.uk/
    > http://blog.dorward.me.uk/
    >
     
    Axel Dahmen, Oct 25, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tom McGlynn
    Replies:
    19
    Views:
    1,316
    Daniel Pitts
    Jun 24, 2009
  2. Merciadri Luca
    Replies:
    4
    Views:
    817
  3. Replies:
    3
    Views:
    189
    Josef Moellers
    Nov 1, 2007
  4. Steven D'Aprano
    Replies:
    0
    Views:
    96
    Steven D'Aprano
    Dec 23, 2013
  5. Replies:
    3
    Views:
    86
    Gary Herron
    Dec 23, 2013
Loading...

Share This Page