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


Groups > comp.lang.javascript > #37222

Re: Breakdown a HTML file into sub textblocks.

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: Breakdown a HTML file into sub textblocks.
Date 2019-09-11 10:20 +0200
Message-ID <gtrp25Fn7keU1@mid.individual.net> (permalink)
References (3 earlier) <0b66d7fb-1cc2-4c72-885e-b3e6be299fa4@googlegroups.com> <gtpu6dFbiflU1@mid.individual.net> <7fa63efb-7e25-4f63-bd93-11b4f8677378@googlegroups.com> <gtqo5gFgs99U1@mid.individual.net> <e347b97b-c916-4c64-b30c-ad9a28f65122@googlegroups.com>

Show all headers | View raw


On 11.09.19 08:25, Jonas Thörnvall wrote:

> Den onsdag 11 september 2019 kl. 00:59:01 UTC+2 skrev Arno Welzel:
>> Jonas Thörnvall:
>> 
>>> To not get any problamss i would just implement it to get HTML
>>> files from same domain and folder. And only allow the new TAG
>>> from originally loaded URL page, so nesting loops can not occur.
>>> 
>>> <HTML SUB="oohILikeIt.html">This is not visible only a comment
>>> about what is loaded</HTML SUB>
>> 
>> You should first learn the basics of HTML. This construct is utter
>> nonsense.
>> 
>> 1) The thing you describe is an "element" not a "tag".
>> 
>> 2) An HTML element usually has an opening tag <name> and a closing
>> tag </name>, even though there are elements which don't require a
>> closing tag.
>> 
>> 3) If there are attributes like "sub", they will *not* be repeated
>> in the closing tag.
>> 
>> For example - this is corrent:
>> 
>> <p class="something"> ..... </p>
>> 
>> but this *not*:
>> 
>> <p class="something"> ... </p class>
>> 
>>> That is what i would have done from start.
>> 
>> You should first learn how HTML *really* works and how to name
>> things correctly.
>> 
>> 
>> -- Arno Welzel https://arnowelzel.de
> 
> But of course you are right. <HTML SUB=""> </HTML> would be the
> correct formatted tags.
> 
> But i think my naming convention was rather smart because now the new
> "subelement" have the start tag <HTML SUB> instead of <HTML> and we
> know we do not allow subs within subs so no nesting can occur.

You still don't get it!

Learn at least the basics properly! The element in your example is
"HTML" and *not* "HTML SUB".

The elements starts with the opening tag "<HTML>" and in your example it
has an *attribute* named "SUB".



-- 
Arno Welzel
https://arnowelzel.de

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


Thread

Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-08 23:22 -0700
  Re: Breakdown a HTML file into sub textblocks. "R.Wieser" <address@not.available> - 2019-09-09 10:15 +0200
    Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-09 04:18 -0700
      Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-09 06:40 -0700
        Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-09 06:42 -0700
          Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-09 06:48 -0700
  Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-09 20:16 +0200
    Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-09 11:35 -0700
    Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-09 11:44 -0700
      Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-09 12:00 -0700
        Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-10 17:35 +0200
          Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-10 09:24 -0700
            Re: Breakdown a HTML file into sub textblocks. John G Harris <niam@jghnorth.org.uk.invalid> - 2019-09-10 18:15 +0100
            Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-11 00:58 +0200
              Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-10 23:18 -0700
                Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-11 10:17 +0200
              Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-10 23:25 -0700
                Re: Breakdown a HTML file into sub textblocks. Flng Fck <nothanks@invalid.invalid> - 2019-09-11 09:19 +0200
                Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-11 00:32 -0700
                Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-11 00:36 -0700
                Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-11 00:39 -0700
                Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-11 10:20 +0200
                Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-11 02:20 -0700
                Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-12 10:29 +0200
                Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-12 11:53 -0700
                Re: Breakdown a HTML file into sub textblocks. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-09-12 22:33 +0200
                Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-12 14:42 -0700
                Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-12 21:44 -0700
                Re: Breakdown a HTML file into sub textblocks. Flng Fck <nothanks@invalid.invalid> - 2019-09-13 11:15 +0200
                Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-13 11:13 -0700
                Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-14 06:35 -0700
                Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-13 14:42 +0200
                Re: Breakdown a HTML file into sub textblocks. HusTler@f122.n1.z21.fsxnet (HusTler) - 2019-09-13 09:28 +1200
                Re: Breakdown a HTML file into sub textblocks. John G Harris <niam@jghnorth.org.uk.invalid> - 2019-09-14 11:20 +0100
                Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-14 22:40 +0200
                Re: Breakdown a HTML file into sub textblocks. Julio Di Egidio <julio@diegidio.name> - 2019-09-15 03:15 -0700
                Re: Breakdown a HTML file into sub textblocks. Julio Di Egidio <julio@diegidio.name> - 2019-09-15 03:22 -0700
                Re: Breakdown a HTML file into sub textblocks. John G Harris <niam@jghnorth.org.uk.invalid> - 2019-09-15 11:33 +0100
                Re: Breakdown a HTML file into sub textblocks. Julio Di Egidio <julio@diegidio.name> - 2019-09-15 04:17 -0700
                Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-15 05:51 -0700
                Re: Breakdown a HTML file into sub textblocks. John G Harris <niam@jghnorth.org.uk.invalid> - 2019-09-15 19:19 +0100
                Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-15 23:52 +0200
                Re: Breakdown a HTML file into sub textblocks. Julio Di Egidio <julio@diegidio.name> - 2019-09-16 02:38 -0700
                Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-16 11:55 +0200
                Re: Breakdown a HTML file into sub textblocks. Julio Di Egidio <julio@diegidio.name> - 2019-09-16 03:03 -0700
                Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-16 13:49 +0200
                Re: Breakdown a HTML file into sub textblocks. dr.j.r.stockton@gmail.com - 2019-09-15 06:40 -0700
  Re: Breakdown a HTML file into sub textblocks. Maik Koenig <usenetspam@maikkoenig.de> - 2019-09-09 23:20 +0200
    Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-09 20:43 -0700
      Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-09 20:46 -0700
      Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-11 00:52 +0200
        Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-10 15:57 -0700
          Re: Breakdown a HTML file into sub textblocks. Arno Welzel <usenet@arnowelzel.de> - 2019-09-11 10:15 +0200
  Re: Breakdown a HTML file into sub textblocks. Julio Di Egidio <julio@diegidio.name> - 2019-09-10 12:43 -0700
    Re: Breakdown a HTML file into sub textblocks. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-09-10 14:05 -0700

csiph-web