Totally Useless HTML Element of the Day – The <'em'> Tag

June 3, 2008 · Filed Under Internet 

EHH<EM>!… Can I have your attention please!</EM>

Today I would like to talk about the <EM> HTML tag. While searching for information on another apparently useless HTML meta tag, I came across the definition for this HTML element.

The <EM> tag is used to put words in an “Emphasis” style, which strangely enough looks just like italics.

For Example!

There is apparently a distinct difference between the two tags though. The HTML standard defines the <EM> tag as being a “logical style” where the <I> tag is considered a “physical style”.

What this means is that a “physical style directs the browser to display in an italic typeface whereas the logical style directs the browser to display with a distinctive emphasis leaving it to the browser to decide how this is achieved (underlining or distinctive colour might be used).”

(Reference - http://www.scit.wlv.ac.uk/encyc/em.html - Page is no longer available)

In order to further explain the “Emphasis” tag the staff at the University of Wolverhampton performed several experiments with the <EM> tag in different browsers to see how the tag would be displayed. These were their findings:

All browsers rendered the text using an italic typeface.

(Side Note: In all fairness, blogs do happen to use the <EM> tag but they use it to create the effect that you get when you click on the “Italic” button in your editor.)

As always thanks for checking out Pseudorant. We appreciate the support.

Bookmark and Share

Comments

9 Responses to “Totally Useless HTML Element of the Day – The <'em'> Tag”

  1. Isles Tech on June 3rd, 2008 11:49 pm

    I don’t think it’s totally useless though…

  2. Paul on June 4th, 2008 12:25 pm

    Ok, I’ll classify it as my partialy useless HTML tag for now. I will keep the “revisit-after” meta tag in the top spot, unless someday Canada creates the next Google! ;)

  3. pandi merdeka on June 5th, 2008 12:31 am

    but if they have a same function one of them is totally useless :smile:

  4. Paul on June 5th, 2008 10:48 am

    I just found it weird that the “Italic” button in WordPress applied the < 'em'> tag and not the < 'i'> tag. Shouldn’t it just be the “Emphasis” button then?

  5. jtfmulder on June 5th, 2008 2:04 pm

    I belong to MyBlogLog.com
    There are many members who somehow make their user name on MyBlogLog appear “emphasized”.
    The site has a great feature that allows you to import a vcard into your address book application. The “emphasized” do not import properly into Address Book on MAC OS X. They show up as user name in my address book application.

    Here’s an example from MyBlogLog.com:

    http://www.mybloglog.com/buzz/members/mybloglogaac792fad4cc5335db40/

    entranceexam1<em>entranceexam1</em>
    entranceexam1@yahoo.com

    Entrance Exam

  6. Paul on June 5th, 2008 3:43 pm

    Strange. I hate it when some trivial bit of formatting keeps information from importing correctly. Do you happen to know if the import works with other HTML tags? I would be interested to see if there is a difference.

  7. Aaron on June 8th, 2008 12:11 am

    Sucks for me, my new mac is useless now! Well not really but that’s weird.

  8. Paul on June 8th, 2008 12:23 am

    Hey, thanks for reading the blog man!

  9. Aaron on June 10th, 2008 8:48 pm

    no prob man, some of these posts are really useful.

Leave a Reply




ss_blog_claim=555660c3e5f182ceb4fe4f9158f3d75e ss_blog_claim=555660c3e5f182ceb4fe4f9158f3d75e