Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Will there ever be a HTML tag to divide HTML documents? Date: Wed, 5 Jun 2019 15:58:07 +0200 Lines: 24 Message-ID: References: <3caf7f43-6536-4c79-9f44-bf93a05caf21@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 5RTHzx1qW2ODPs6KNWeu9wu57MFjBtZey9BgUWeIAVdCYPxIXC Cancel-Lock: sha1:BJkYpFHWjfr5yP5FbsDGOfVjzSk= In-Reply-To: <3caf7f43-6536-4c79-9f44-bf93a05caf21@googlegroups.com> Content-Language: en-US Xref: csiph.com comp.lang.javascript:36787 On 05.06.19 08:22, Jonas Thörnvall wrote: [...] > Just guessing here but, it seem to me that HTML requests will send > files in some type of order, starting with the indexfile, and then > rest text files, after that script files and last pictures. There is no "HTML request"! It's all HTTP - and it does not matter, if the requested resource is a HTML document or something else. Try to understand at least the basics: The browser will just send a HTTP (not HTML!) request and get a response from the server. And if this response is a HTML document, the browser(!) will parse the document and will request other resources which are referred in the HTML document (e.g. scripts, style sheets, images). And by the way: what does this all have to do with JavaScript? -- Arno Welzel https://arnowelzel.de