Reply to when to use <em> and <strong>?

Your name:

Reply:


Posted by John Salerno on 01/26/06 16:44

I understand that you shouldn't use these tags to italicize or bold
text, but what exactly is meant when you want to "emphasize" text? It
seems like any use of <em> is somehow tied to the fact that it will use
italics, and I wonder if people would use it as much if it didn't. So
I'm trying to grasp how you really use it for markup only.

Also, as an example, what if I had a sentence like this:

"The word void in a function indicates that there is no return type."

If I'd like 'void' to stand out from the rest of the sentence (and
ideally have it italicized), should I use <em>? I know I should have
italics as a consideration when I choose <em>, but like I said it's hard
not to.

The only other option I can think of would be:

<span class="keyword">void</span>

but is that a better way to do it?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация