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. Clever use of HTML

Clever use of HTML

Scheduled Pinned Locked Moved The Lounge
csharphtmlcom
18 Posts 7 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.
  • P PIEBALDconsult

    No, you need to use the <EM> tag !

    N Offline
    N Offline
    newton saber
    wrote on last edited by
    #4

    PIEBALDconsult wrote:

    you need to use the <EM> tag !

    I second that! So many web devs still using <i> tag. Even right here on little ol' CP. :(

    P 1 Reply Last reply
    0
    • N newton saber

      PIEBALDconsult wrote:

      you need to use the <EM> tag !

      I second that! So many web devs still using <i> tag. Even right here on little ol' CP. :(

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

      newton.saber wrote:

      Even right here on little ol' CP

      Whenever I try to use <em> in an article it gets replaced. :mad:

      Richard DeemingR 1 Reply Last reply
      0
      • P PIEBALDconsult

        newton.saber wrote:

        Even right here on little ol' CP

        Whenever I try to use <em> in an article it gets replaced. :mad:

        Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote on last edited by
        #6

        In the online editor? With the default config, it should be the other way round - <i> should be replaced with <em>.


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        P 1 Reply Last reply
        0
        • Richard DeemingR Richard Deeming

          In the online editor? With the default config, it should be the other way round - <i> should be replaced with <em>.


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

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

          Richard Deeming wrote:

          In the online editor?

          No. I write in Notepad and email them.

          Richard Deeming wrote:

          <i> should be replaced with <em>.

          I've never seen that happen, but maybe I'll try to be more observant in the future.

          Richard DeemingR 1 Reply Last reply
          0
          • P PIEBALDconsult

            Richard Deeming wrote:

            In the online editor?

            No. I write in Notepad and email them.

            Richard Deeming wrote:

            <i> should be replaced with <em>.

            I've never seen that happen, but maybe I'll try to be more observant in the future.

            Richard DeemingR Offline
            Richard DeemingR Offline
            Richard Deeming
            wrote on last edited by
            #8

            PIEBALDconsult wrote:

            No. I write in Notepad and email them.

            Ah - it's human hamster error then. :)


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

            P 1 Reply Last reply
            0
            • Richard DeemingR Richard Deeming

              PIEBALDconsult wrote:

              No. I write in Notepad and email them.

              Ah - it's human hamster error then. :)


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

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

              Possibly. I'm fairly sure they pass articles through a filter upon arrival that way.

              1 Reply Last reply
              0
              • P PIEBALDconsult

                No, you need to use the <EM> tag !

                F Offline
                F Offline
                Forogar
                wrote on last edited by
                #10

                "em" is way too verbose. Em prefer the good ol' "i".

                - I would love to change the world, but they won’t give me the source code.

                P 1 Reply Last reply
                0
                • F Forogar

                  "em" is way too verbose. Em prefer the good ol' "i".

                  - I would love to change the world, but they won’t give me the source code.

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

                  You're imagining things. I thought em predated i.

                  T 1 Reply Last reply
                  0
                  • P PIEBALDconsult

                    You're imagining things. I thought em predated i.

                    T Offline
                    T Offline
                    Tom Clement
                    wrote on last edited by
                    #12

                    Perhaps, but it seems like a failed predator. I is still da king o da web.

                    Tom Clement articles[^]

                    N 1 Reply Last reply
                    0
                    • T Tom Clement

                      Perhaps, but it seems like a failed predator. I is still da king o da web.

                      Tom Clement articles[^]

                      N Offline
                      N Offline
                      newton saber
                      wrote on last edited by
                      #13

                      em is preferred since HTML 4.01. ≪I> has been there since before CSS. All tags are suggestions to the renderer and as such the suggestion is EMphasis. ≪b> should be replaced with strong also.

                      N S 2 Replies Last reply
                      0
                      • N newton saber

                        em is preferred since HTML 4.01. ≪I> has been there since before CSS. All tags are suggestions to the renderer and as such the suggestion is EMphasis. ≪b> should be replaced with strong also.

                        N Offline
                        N Offline
                        Nicholas Marty
                        wrote on last edited by
                        #14

                        You are all wrong. a <span style="font-style: italic"> is the way to go!! :laugh:

                        N 1 Reply Last reply
                        0
                        • P PIEBALDconsult

                          No, you need to use the <EM> tag !

                          S Offline
                          S Offline
                          szukuro
                          wrote on last edited by
                          #15

                          The <i> tag is actually more appropriate here, since it is still the element to be used for typographically italicized text i.e. text that is just in italic without any semantics to it whatsoever. <em> is meant to be used for emphasis/stressing.

                          P 1 Reply Last reply
                          0
                          • N newton saber

                            em is preferred since HTML 4.01. ≪I> has been there since before CSS. All tags are suggestions to the renderer and as such the suggestion is EMphasis. ≪b> should be replaced with strong also.

                            S Offline
                            S Offline
                            szukuro
                            wrote on last edited by
                            #16

                            em is not a replacement for i, they have semantically different meanings. It's the specific scenario that dictates preference.

                            1 Reply Last reply
                            0
                            • N Nicholas Marty

                              You are all wrong. a <span style="font-style: italic"> is the way to go!! :laugh:

                              N Offline
                              N Offline
                              newton saber
                              wrote on last edited by
                              #17

                              Actually, I do agree with you. Styling should be in CSS.

                              1 Reply Last reply
                              0
                              • S szukuro

                                The <i> tag is actually more appropriate here, since it is still the element to be used for typographically italicized text i.e. text that is just in italic without any semantics to it whatsoever. <em> is meant to be used for emphasis/stressing.

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

                                szukuro wrote:

                                <em> is meant to be used for emphasis/stressing

                                Exactly, and the browser should decide how to do that. Not every system can italicize; some may need to make the text blink instead. :-D

                                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