Reply to Re: abbr or acronym for currency codes?

Your name:

Reply:


Posted by Andy Dingley on 10/09/43 11:45

dnn wrote:

> Are currency codes such as USD, EUR, GBP, etc. to be put in an abbr or
> acronym tag?

<abbr>

But don't expect it to achieve anything except maybe a hook to hang
some CSS on

If it's an intranet app and you _must_ work on IE, then use <acronym>,
because <abbr> simply doesn't.

The pair of elements are poorly thought out, so they're confused and
overlapping. They also fail to cover something more useful that's
harder to describe, the idea of "Atomic concept from some unimportant
origin that's recognisable, usable, but unpronouncable". <abbr> comes
closest though.

If you use it, use title attributes and I'd suggest
class="currency-code" or class="ISO4217" too. Personally I also tend
to repeat the code itself into the class, e.g. class="ISO4217 XAU" If
I'm using these at all I'm doing it automatically (XSLT) and it's quite
commonplace that I find myself wanting to start colour highlighting
particular currencies on a page.

[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

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