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: Thu, 6 Jun 2019 11:21:11 +0200 Lines: 43 Message-ID: References: <11331957.O9o76ZdvQC@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net L2Skb47kFAJKIap0Vew6YAJGPpvlQngCjrYhUoRBBK5KT+PX9M Cancel-Lock: sha1:BO7CKauVAiKnalCHf3kxsJgLt8w= In-Reply-To: Content-Language: en-US Xref: csiph.com comp.lang.javascript:36802 On 06.06.19 10:57, Jonas Thörnvall wrote: > Den torsdag 6 juni 2019 kl. 10:30:53 UTC+2 skrev Arno Welzel: >> On 05.06.19 22:02, Jonas Thörnvall wrote: >> >> [...] >>> No the tools are not the problem Thomas.... >> >> Indeed - it's your attitude... >> >> >> -- Arno Welzel https://arnowelzel.de > > Well i think my question after a way to split textchunks is fair. Sure - but when people try to explain that this propably needs additional tools since HTML itself does not provide such a feature, it is not helpful if you call them "moron". > Because there is many people asking for it, they do not ask for > frames or crossdomain iframes, they do not want to deal with the > document hierarchy reaching documents. > They want a ***single*** HTML document to be divided into logical > textchunks that is put together by the browser after the HTTP > request. Basicly linked textchunks. Well - there is a chunked transfer encoding in HTTP. But this will nevertheless still just deliver the same single HTML document which is just one piece of content. HTML itself does not have "logical textchunks". If you want to achieve this - for example multiple sections for easier navigation - you may either use anchors and a table of contents with links which is positioned absolute at the top of the viewport or you use DIV elements which are initially hidden except a title line and only display fully when clicking the title. That can be done either using CSS and the :focus selector combined with an element in the title which can get a focus or using JavaScript. -- Arno Welzel https://arnowelzel.de