Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. It's horrible

It's horrible

Scheduled Pinned Locked Moved The Weird and The Wonderful
javascripthtmltoolsquestion
14 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jamie550
    wrote on last edited by
    #1

    HTML :(( Please, who decided that tags like
    didn't have to be closed. Now parsers have to waste their time checking for a closing tag. Also, how could people think that is ok? And what about

    ? And what about JavaScript and the like? Why consider ' and " only within a script tag, and then allow <, but outside a script tag treat any instance of < as a tag opener? People's laziness in writing HTML slows down my computer by wasting processing. But seriously, why did people decide that HTMLers would be too stupid/lazy to close tags and layer them correctly?

    P _ P S D 7 Replies Last reply
    0
    • J jamie550

      HTML :(( Please, who decided that tags like
      didn't have to be closed. Now parsers have to waste their time checking for a closing tag. Also, how could people think that is ok? And what about

      ? And what about JavaScript and the like? Why consider ' and " only within a script tag, and then allow <, but outside a script tag treat any instance of < as a tag opener? People's laziness in writing HTML slows down my computer by wasting processing. But seriously, why did people decide that HTMLers would be too stupid/lazy to close tags and layer them correctly?

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      To add to it, how hard would it be to write an HTML editor that closes the tags for those lazy HTMLers :rolleyes:

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

      1 Reply Last reply
      0
      • J jamie550

        HTML :(( Please, who decided that tags like
        didn't have to be closed. Now parsers have to waste their time checking for a closing tag. Also, how could people think that is ok? And what about

        ? And what about JavaScript and the like? Why consider ' and " only within a script tag, and then allow <, but outside a script tag treat any instance of < as a tag opener? People's laziness in writing HTML slows down my computer by wasting processing. But seriously, why did people decide that HTMLers would be too stupid/lazy to close tags and layer them correctly?

        _ Offline
        _ Offline
        _Damian S_
        wrote on last edited by
        #3

        My favourite part was when the OP forgot to tick the "Ignore HTML tags in this message (good for code snippets) checkbox!!

        -------------------------------------------------------- Knowledge is knowing that the tomato is a fruit. Wisdom is not putting it in fruit salad!!

        P 1 Reply Last reply
        0
        • J jamie550

          HTML :(( Please, who decided that tags like
          didn't have to be closed. Now parsers have to waste their time checking for a closing tag. Also, how could people think that is ok? And what about

          ? And what about JavaScript and the like? Why consider ' and " only within a script tag, and then allow <, but outside a script tag treat any instance of < as a tag opener? People's laziness in writing HTML slows down my computer by wasting processing. But seriously, why did people decide that HTMLers would be too stupid/lazy to close tags and layer them correctly?

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          <b><i></i></b> Looks OK to me. :confused:

          J 1 Reply Last reply
          0
          • P PIEBALDconsult

            <b><i></i></b> Looks OK to me. :confused:

            J Offline
            J Offline
            jamie550
            wrote on last edited by
            #5

            :-O Fixed

            1 Reply Last reply
            0
            • J jamie550

              HTML :(( Please, who decided that tags like
              didn't have to be closed. Now parsers have to waste their time checking for a closing tag. Also, how could people think that is ok? And what about

              ? And what about JavaScript and the like? Why consider ' and " only within a script tag, and then allow <, but outside a script tag treat any instance of < as a tag opener? People's laziness in writing HTML slows down my computer by wasting processing. But seriously, why did people decide that HTMLers would be too stupid/lazy to close tags and layer them correctly?

              S Offline
              S Offline
              snorkie
              wrote on last edited by
              #6

              Actually, that is what makes the web so great. By lowering the barrier to entry it let many people without technical skills get information out. If we raise the level of skill to put out a simple web page, then we'll leave some people out. Anybody that likes and gets serious will want to get better to do more complex things. Or they'll get a copy of Frontpage (or something like that). Hogan

              J 1 Reply Last reply
              0
              • S snorkie

                Actually, that is what makes the web so great. By lowering the barrier to entry it let many people without technical skills get information out. If we raise the level of skill to put out a simple web page, then we'll leave some people out. Anybody that likes and gets serious will want to get better to do more complex things. Or they'll get a copy of Frontpage (or something like that). Hogan

                J Offline
                J Offline
                jamie550
                wrote on last edited by
                #7

                Yes, but closing tags in order and closing all tags is not complicated at all, and no technical skills are required to do so.

                B 1 Reply Last reply
                0
                • J jamie550

                  HTML :(( Please, who decided that tags like
                  didn't have to be closed. Now parsers have to waste their time checking for a closing tag. Also, how could people think that is ok? And what about

                  ? And what about JavaScript and the like? Why consider ' and " only within a script tag, and then allow <, but outside a script tag treat any instance of < as a tag opener? People's laziness in writing HTML slows down my computer by wasting processing. But seriously, why did people decide that HTMLers would be too stupid/lazy to close tags and layer them correctly?

                  D Offline
                  D Offline
                  Dan Neely
                  wrote on last edited by
                  #8

                  jamie550 wrote:

                  Also, how could people think that is ok?

                  Because when applying that formatting in your favorite word processor you only need to apply bold and italic once each. You don;t have to apply one separately on each side of the other. Having learned how to do the task one way, a user will always try to do a conceptually similar task the same way in other applications.

                  Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                  B 1 Reply Last reply
                  0
                  • _ _Damian S_

                    My favourite part was when the OP forgot to tick the "Ignore HTML tags in this message (good for code snippets) checkbox!!

                    -------------------------------------------------------- Knowledge is knowing that the tomato is a fruit. Wisdom is not putting it in fruit salad!!

                    P Offline
                    P Offline
                    Paul Conrad
                    wrote on last edited by
                    #9

                    :doh: :laugh:

                    "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                    1 Reply Last reply
                    0
                    • D Dan Neely

                      jamie550 wrote:

                      Also, how could people think that is ok?

                      Because when applying that formatting in your favorite word processor you only need to apply bold and italic once each. You don;t have to apply one separately on each side of the other. Having learned how to do the task one way, a user will always try to do a conceptually similar task the same way in other applications.

                      Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                      B Offline
                      B Offline
                      BadKarma
                      wrote on last edited by
                      #10

                      dan neely wrote:

                      Because when applying that formatting in your favorite word processor you only need to apply bold and italic once each. You don;t have to apply one separately on each side of the other. Having learned how to do the task one way, a user will always try to do a conceptually similar task the same way in other applications.

                      This is not true, in WordPerfect For DOS you must start a Bold section and then close the bold section. The same for italic and underline. ;P

                      Learn from the mistakes of others, you may not live long enough to make them all yourself.

                      D 1 Reply Last reply
                      0
                      • B BadKarma

                        dan neely wrote:

                        Because when applying that formatting in your favorite word processor you only need to apply bold and italic once each. You don;t have to apply one separately on each side of the other. Having learned how to do the task one way, a user will always try to do a conceptually similar task the same way in other applications.

                        This is not true, in WordPerfect For DOS you must start a Bold section and then close the bold section. The same for italic and underline. ;P

                        Learn from the mistakes of others, you may not live long enough to make them all yourself.

                        D Offline
                        D Offline
                        Dan Neely
                        wrote on last edited by
                        #11

                        Which would mean that the 5% of lusers who learned word processing on WP would get it right, but the 95% whose first PC had a GUI would still be doing it the wrong way.

                        Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                        1 Reply Last reply
                        0
                        • J jamie550

                          HTML :(( Please, who decided that tags like
                          didn't have to be closed. Now parsers have to waste their time checking for a closing tag. Also, how could people think that is ok? And what about

                          ? And what about JavaScript and the like? Why consider ' and " only within a script tag, and then allow <, but outside a script tag treat any instance of < as a tag opener? People's laziness in writing HTML slows down my computer by wasting processing. But seriously, why did people decide that HTMLers would be too stupid/lazy to close tags and layer them correctly?

                          R Offline
                          R Offline
                          Rage
                          wrote on last edited by
                          #12

                          jamie550 wrote:

                          But seriously, why did people decide that HTMLers would be too stupid/lazy to close tags and layer them correctly?

                          That was an excellent guess, as a matter of fact. People _are_ too lazy to close tags, a chance that some people realized that.

                          1 Reply Last reply
                          0
                          • J jamie550

                            HTML :(( Please, who decided that tags like
                            didn't have to be closed. Now parsers have to waste their time checking for a closing tag. Also, how could people think that is ok? And what about

                            ? And what about JavaScript and the like? Why consider ' and " only within a script tag, and then allow <, but outside a script tag treat any instance of < as a tag opener? People's laziness in writing HTML slows down my computer by wasting processing. But seriously, why did people decide that HTMLers would be too stupid/lazy to close tags and layer them correctly?

                            P Offline
                            P Offline
                            Philippe Lhoste
                            wrote on last edited by
                            #13

                            who decided that tags like <br> didn't have to be closed Well, that's named HTML, and it have been around for many years. Way before XML was invented... Now parsers have to waste their time checking for a closing tag You just have to use an HTML parser, using the right DTD, indicating which tags must be closed and which might be left "open", and what is their scope (closed by another kind of tag), instead of an XML parser... Incorrect HTML: that's another story, that's why browsers are so tolerant (more or less: a browser might close a div by itself, another will take the div ends at the bottom of the document...). I don't understand the rant about JS... Anyway, should I have to parse HTML pages, I would use a good library like TagSoup to handle all these peculiarities.

                            Philippe Lhoste (Paris -- France)
                            Professional programmer and amateur artist
                            http://phi.lho.free.fr

                            1 Reply Last reply
                            0
                            • J jamie550

                              Yes, but closing tags in order and closing all tags is not complicated at all, and no technical skills are required to do so.

                              B Offline
                              B Offline
                              BillW33
                              wrote on last edited by
                              #14

                              I have to agree. It just isn't that hard to properly format tag. Bill W

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups