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. The Lounge
  3. Programmers Who Don't Know HTML

Programmers Who Don't Know HTML

Scheduled Pinned Locked Moved The Lounge
asp-netcsharpjavascripthtmlcom
82 Posts 35 Posters 2 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.
  • M Mark_Wallace

    May the lord preserve us from evangelistic religious fanatics. How, pray, would you go about adding bold or italic text that is not to be stressed by an electronic voice reading the page?

    I wanna be a eunuchs developer! Pass me a bread knife!

    N Offline
    N Offline
    Nicolas Forgerit
    wrote on last edited by
    #44

    Mark Wallace wrote:

    How, pray, would you go about adding bold or italic text that is not to be stressed by an electronic voice reading the page?

    Just curious: Why exactly would i want that? I mean, isn't the purpose of a screen reader to express exactly a given text with all its information? I just don't know any situation in which i would emphasize something that is written which should not be stressed when it's expressed via speech.

    1 Reply Last reply
    0
    • A AspDotNetDev

      A thought just occurred to me (hey, you shut up, it happens on occassion!). I assume that most developers have had some experience with HTML. I'm not sure why; it just seems like a given to me (however unjustifiable that assumption may be). That may be more true of developers who post in the Lounge, considering we are exposed to HTML regularly. However, I am curious... how many of you know developers who don't know at least some basic HTML? If you are reading this, Chris, might be a good topic for a poll.

      [Managing Your JavaScript Library in ASP.NET]

      S Offline
      S Offline
      SeattleC
      wrote on last edited by
      #45

      I don't know HTML. Oh sure, recently I've had to learn a tiny bit. Find a programmer with more than 15 years experience, and it will increase the odds they don't know any HTML. That web thing is a recent phenomenon. I spent half my career before there was a world wide web. No HTML at all during all that time, and yet we managed to find something to do. You can do backend work without knowing or needing to know HTML. You can do embedded work without needing to know HTML. You can do systems work without needing to know HTML. You can do kernel work. In fact, most of the work that actually requires you to know HTML is kinda lightweight. I'm just sayin...

      1 Reply Last reply
      0
      • A Alexander DiMauro

        robert.osterlind wrote:

        By using span and css?

        But then you are just adding extra tags solely for the purpose of applying bold and/or italics? Read 'Introducing HTML 5' by Bruce Lawson and Remy Sharp. They state that b and i tags are used precisely for bold and italics that will not receive emphasis from a screen reader. Adding extra spans and divs just leads to bloat and added complexity.

        R Offline
        R Offline
        robert osterlind
        wrote on last edited by
        #46

        How is it more bloat to add a span than a b or i tag?

        A M 3 Replies Last reply
        0
        • R robert osterlind

          How is it more bloat to add a span than a b or i tag?

          A Offline
          A Offline
          Alexander DiMauro
          wrote on last edited by
          #47

          <span class="italics">italicize this</span> .italics {font-style:italic} vs. <i>italicize this</i>

          R P 2 Replies Last reply
          0
          • A Alexander DiMauro

            <span class="italics">italicize this</span> .italics {font-style:italic} vs. <i>italicize this</i>

            R Offline
            R Offline
            robert osterlind
            wrote on last edited by
            #48

            <span class="i b">Bold Italics</span> .i {font-style:italic;} .b {font-weight:bold;} vs <i><b>Bold Italics</b></i> Not much of a difference really in my opinion, with one you get a few more characters, in the other you're nesting it deeper....

            A 1 Reply Last reply
            0
            • R robert osterlind

              How is it more bloat to add a span than a b or i tag?

              A Offline
              A Offline
              Alexander DiMauro
              wrote on last edited by
              #49

              This is from the book Introducing HTML 5: em marks up emphasis of the kind that subtly changes the meaning of a sentence; The <i> element "represents a span of text in an alternate voice or mood, or otherwise ofset from the normal prose, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, a thought, a ship name, or some other prose whose typical typographic presentation is italicized." Here are some examples of <i> where <em> would not be appropriate: <p>The <i>Titanic</i> sails at dawn.</p> <p>The design needs a bit more <i lang=fr>ooh la la</i>. </p> <p>You, sir, deserve a jolly good kick up the <i>gluteus maximus</i>! </p> The strong element represents strong importance for its contents but, unlike <em>, it does not change the meaning of the sentence. The <b> element "represents a span of text to be stylistically ofset from the normal prose without conveying any extra importance, such as key words in a document abstract, product names in a review, or other spans of text whose typical typographic presentation is boldened." For example: <p>Remy never forgot his fifth birthday—feasting on <b>powdered toast</b> and the joy of opening his gift: a <b>Log from Blammo! </b>.</p>

              N 1 Reply Last reply
              0
              • R robert osterlind

                <span class="i b">Bold Italics</span> .i {font-style:italic;} .b {font-weight:bold;} vs <i><b>Bold Italics</b></i> Not much of a difference really in my opinion, with one you get a few more characters, in the other you're nesting it deeper....

                A Offline
                A Offline
                Alexander DiMauro
                wrote on last edited by
                #50

                Yes, but you are adding span tags that have NO semantic meaning, when you have two perfectly good tags that HAVE semantic meaning.

                R 1 Reply Last reply
                0
                • A Alexander DiMauro

                  Yes, but you are adding span tags that have NO semantic meaning, when you have two perfectly good tags that HAVE semantic meaning.

                  R Offline
                  R Offline
                  robert osterlind
                  wrote on last edited by
                  #51

                  Coming from the XHTML view rather than the HTML5 view I'd say that the semantic meaning of b and i respectively have been lost due to the misuse of them. I saw your other reply as well, and while I agree in principle on that being a correct usage of it in that case, I disagree with those definitions/usage as being the way they're most commonly used. Also, assuming they DO actually have a semantic meaning (differing from strong and em) that is commonly accepted, you should then use span and CSS for those cases when it is only typographically you want to change it.

                  A 1 Reply Last reply
                  0
                  • R robert osterlind

                    Coming from the XHTML view rather than the HTML5 view I'd say that the semantic meaning of b and i respectively have been lost due to the misuse of them. I saw your other reply as well, and while I agree in principle on that being a correct usage of it in that case, I disagree with those definitions/usage as being the way they're most commonly used. Also, assuming they DO actually have a semantic meaning (differing from strong and em) that is commonly accepted, you should then use span and CSS for those cases when it is only typographically you want to change it.

                    A Offline
                    A Offline
                    Alexander DiMauro
                    wrote on last edited by
                    #52

                    To be honest, this whole subject has been tirelessly debated for quite some time now, with people always falling on both sides of the matter. I can see your point, too, and respect your answers. :thumbsup: It's important to understand that there are many viewpoints, and many ways to do the same things. In the end, I think a lot of it really comes down to personal preference.

                    R 1 Reply Last reply
                    0
                    • A Alexander DiMauro

                      To be honest, this whole subject has been tirelessly debated for quite some time now, with people always falling on both sides of the matter. I can see your point, too, and respect your answers. :thumbsup: It's important to understand that there are many viewpoints, and many ways to do the same things. In the end, I think a lot of it really comes down to personal preference.

                      R Offline
                      R Offline
                      robert osterlind
                      wrote on last edited by
                      #53

                      Indeed and likewise :)

                      1 Reply Last reply
                      0
                      • A Alexander DiMauro

                        This is from the book Introducing HTML 5: em marks up emphasis of the kind that subtly changes the meaning of a sentence; The <i> element "represents a span of text in an alternate voice or mood, or otherwise ofset from the normal prose, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, a thought, a ship name, or some other prose whose typical typographic presentation is italicized." Here are some examples of <i> where <em> would not be appropriate: <p>The <i>Titanic</i> sails at dawn.</p> <p>The design needs a bit more <i lang=fr>ooh la la</i>. </p> <p>You, sir, deserve a jolly good kick up the <i>gluteus maximus</i>! </p> The strong element represents strong importance for its contents but, unlike <em>, it does not change the meaning of the sentence. The <b> element "represents a span of text to be stylistically ofset from the normal prose without conveying any extra importance, such as key words in a document abstract, product names in a review, or other spans of text whose typical typographic presentation is boldened." For example: <p>Remy never forgot his fifth birthday—feasting on <b>powdered toast</b> and the joy of opening his gift: a <b>Log from Blammo! </b>.</p>

                        N Offline
                        N Offline
                        Naruki 0
                        wrote on last edited by
                        #54

                        Garbage. If the visual cue doesn't change the nuance and/or meaning, then don't use it. If it does, then visual readers need to be able to interpret it. The historical reason B and I were violations is because they were NOT semantic, they were display. HTML is supposed to be semantic. HTML 5 has deliberately chosen to stop being valid SGML, which is why that historical reason will be ignored more self-righteously from now on. (It won't be ignored more, since it's already at absurd percent, but people may be more smug about being wrong.)

                        Narf.

                        M 1 Reply Last reply
                        0
                        • D Dave Goughnour

                          I really don't consider HTML a programming language, it is a markup language. It was designed to navigate documents, not write programs. The various attempts to write programs with HTML are really nothing more than glorified hacks and have significantly slowed down and in some cases reversed progress in good software engineering practices. This is the main reason that to this day users just shrug their shoulders and chuckle when a web site crashes. Flash was the first 'web' programming environment that came close to adhering to any kind of modern software platform and Silverlight is the first platform that I would consider state of the art in terms of good software engineering methodology (and I am definately not a Microsoft fan). The fact that Microsoft appears to be waffling on their Silverlight support in favor of HTML5 and JavaScript is really annoying.

                          N Offline
                          N Offline
                          Naruki 0
                          wrote on last edited by
                          #55

                          Um, anyone who does think HTML is a programming language is simply ignorant. The ML part stands for Markup Language. Until HTML 5, it was a subset of SGML. There has never been a successful attempt to write programs in HTML because that is impossible. There is nothing at all programmy about it. JavaScript, which is associated with nearly all the HTML pages in existence, is a programming language, but it is nevertheless not HTML.

                          Narf.

                          D 1 Reply Last reply
                          0
                          • A AspDotNetDev

                            A thought just occurred to me (hey, you shut up, it happens on occassion!). I assume that most developers have had some experience with HTML. I'm not sure why; it just seems like a given to me (however unjustifiable that assumption may be). That may be more true of developers who post in the Lounge, considering we are exposed to HTML regularly. However, I am curious... how many of you know developers who don't know at least some basic HTML? If you are reading this, Chris, might be a good topic for a poll.

                            [Managing Your JavaScript Library in ASP.NET]

                            J Offline
                            J Offline
                            Jack Shofner
                            wrote on last edited by
                            #56

                            I know little of HTML. It is not a programming language, but only used for formatting pages. Why bother with it anyway?

                            A N 2 Replies Last reply
                            0
                            • A AspDotNetDev

                              A thought just occurred to me (hey, you shut up, it happens on occassion!). I assume that most developers have had some experience with HTML. I'm not sure why; it just seems like a given to me (however unjustifiable that assumption may be). That may be more true of developers who post in the Lounge, considering we are exposed to HTML regularly. However, I am curious... how many of you know developers who don't know at least some basic HTML? If you are reading this, Chris, might be a good topic for a poll.

                              [Managing Your JavaScript Library in ASP.NET]

                              C Offline
                              C Offline
                              cpkilekofp
                              wrote on last edited by
                              #57

                              AspDotNetDev wrote:

                              how many of you know developers who don't know at least some basic HTML?

                              We have a number of developers who don't know HTML. They program in FORTRAN on OpenVMS. In fairness, I've forgotten almost every bit of DCL that I ever knew :)

                              1 Reply Last reply
                              0
                              • A AspDotNetDev

                                A thought just occurred to me (hey, you shut up, it happens on occassion!). I assume that most developers have had some experience with HTML. I'm not sure why; it just seems like a given to me (however unjustifiable that assumption may be). That may be more true of developers who post in the Lounge, considering we are exposed to HTML regularly. However, I am curious... how many of you know developers who don't know at least some basic HTML? If you are reading this, Chris, might be a good topic for a poll.

                                [Managing Your JavaScript Library in ASP.NET]

                                C Offline
                                C Offline
                                cpkilekofp
                                wrote on last edited by
                                #58

                                HOWEVER...I once worked at a place where, by virtue of (among other things) "he taught himself HTML over a weekend", a 25-year old documentor became project leader for a major web/IVR development effort. A year later, with three failed distributions and numerous after-distribution emergency fixes required (some taking longer to develop and run than did the original buggy code), this individual was packed off to California to another project, and probably never programmed again. At the time, I didn't know HTML, and saw no reason to learn it before I actually had to use it. By the time I did, CSS style sheets had become the standard, so I'm glad I didn't bother to learn stuff I would have had to unlearn later. After all, why bother to learn a "language" that any reasonably bright fool can learn in a weekend?

                                1 Reply Last reply
                                0
                                • A AspDotNetDev

                                  A thought just occurred to me (hey, you shut up, it happens on occassion!). I assume that most developers have had some experience with HTML. I'm not sure why; it just seems like a given to me (however unjustifiable that assumption may be). That may be more true of developers who post in the Lounge, considering we are exposed to HTML regularly. However, I am curious... how many of you know developers who don't know at least some basic HTML? If you are reading this, Chris, might be a good topic for a poll.

                                  [Managing Your JavaScript Library in ASP.NET]

                                  L Offline
                                  L Offline
                                  Lilith C
                                  wrote on last edited by
                                  #59

                                  I thought it was the other way around. When the WWW was in its infancy we had HTML training for some of the people who were going to maintain their location's web page. Coming out of the class one woman was overheard to say, "Now that we're programmers shouldn't we be making more money?"

                                  I'm not a programmer but I play one at the office

                                  A 1 Reply Last reply
                                  0
                                  • J Jack Shofner

                                    I know little of HTML. It is not a programming language, but only used for formatting pages. Why bother with it anyway?

                                    A Offline
                                    A Offline
                                    AspDotNetDev
                                    wrote on last edited by
                                    #60

                                    Jack Shofner wrote:

                                    Why bother with it anyway?

                                    Do you realize that the page you used to post that comment and the page you are reading this comment on is HTML? :)

                                    [Managing Your JavaScript Library in ASP.NET]

                                    J 1 Reply Last reply
                                    0
                                    • L Lilith C

                                      I thought it was the other way around. When the WWW was in its infancy we had HTML training for some of the people who were going to maintain their location's web page. Coming out of the class one woman was overheard to say, "Now that we're programmers shouldn't we be making more money?"

                                      I'm not a programmer but I play one at the office

                                      A Offline
                                      A Offline
                                      AspDotNetDev
                                      wrote on last edited by
                                      #61

                                      Lilith.C wrote:

                                      Now that we're programmers shouldn't we be making more money?

                                      :laugh: :thumbsup:

                                      [Managing Your JavaScript Library in ASP.NET]

                                      1 Reply Last reply
                                      0
                                      • N Naruki 0

                                        Um, anyone who does think HTML is a programming language is simply ignorant. The ML part stands for Markup Language. Until HTML 5, it was a subset of SGML. There has never been a successful attempt to write programs in HTML because that is impossible. There is nothing at all programmy about it. JavaScript, which is associated with nearly all the HTML pages in existence, is a programming language, but it is nevertheless not HTML.

                                        Narf.

                                        D Offline
                                        D Offline
                                        Dave Goughnour
                                        wrote on last edited by
                                        #62

                                        I am not convinced most 'web programmers' know the difference JavaScript falls into the category of Glorified Hack in my opinion...

                                        N 1 Reply Last reply
                                        0
                                        • Sander RosselS Sander Rossel

                                          Actually I couldn't even write Hello World in HTML... I'm a winforms developer, don't need to know all that stuff. Although I did have my own phpBB forums on which I 'installed' mods (I had documents saying 'insert code x at line y') etc. So I have a really very tiny little bit of experience I guess. That was before I became a programmer though.

                                          It's an OO world.

                                          C Offline
                                          C Offline
                                          chrisseanhayes
                                          wrote on last edited by
                                          #63

                                          I can: open text editor (of your choice) type: hello world save with '.html' extention ta da! html hello world example

                                          Sander RosselS 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