I’m an HTML Tag Criminal

I read the 10 HTML Tag Crimes You Really Shouldn’t Commit article and while I had suspected it for a while, I now know myself to be an HTML Tag Criminal. My biggest crime is:

Crime 4: Using <b> and <i> for Bolding and Italicizing

Actually WordPress will convert <b> and <i>to <strong> and <em>, respectively, but I’m pretty sure that my on-line diary suffer from the above crime and a few more…

3 comments

  1. Ugh. But it’s still a mess. If the presentation is up to CSS, why did they simply rename and using two even more confusing names?

    I understand that the new names are meant to be more generic and vague… but while is passable is merely cryptic and has to be looked up. Apparently it means “emphasis” which, by the way, is a noun and not an adjective. Further googling reveals that means “strong emphasis”…

    So = emphasis level 1
    and = emphasis level 2

    Why not use a similar pattern to the one used for headings? , etc.

    (I know you’re not the W3C, just venting. 🙂

  2. Fixed post:

    If the presentation is up to CSS, why did they simply rename “b” and “i” using two even more confusing names?

    I understand that the new names are meant to be more generic and vague… but while “strong” is passable, “em” is merely cryptic and has to be looked up. Apparently it means “emphasis” which, by the way, is a noun and not an adjective. Further googling reveals that “strong” really means “strong emphasis”…

    So “em” = emphasis level 1
    and “strong” = emphasis level 2

    Why not use a similar pattern to the one used for headings? “em1”, “em2”, etc.

Leave a Reply to Carl Ådahl Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.