title attribute and abbreviated
classnames(Was:[uf-discuss]Currency Quickpoll: Preliminary results)
scott at randomchaos.com
Wed Oct 18 17:16:53 PDT 2006
On Oct 18, 2006, at 6:54 PM, Stephen Paul Weber wrote:
>> >> I'd propose this as an alternative:
>> >> <abbr class="currency" title="USD">$</abbr>5.99
> What happened to:
> <span class="money"><abbr class="currency" title="USD">$</abbr><span
I continue to prefer that, but I think Mike is pushing for less
verbose markup, and I'm trying to explore how less verbose markup
could communicate the same information with minimal assumptions. The
assumptions here are:
1) any numbers, decimals, and commas adjacent to a tag with
class="currency" have an implied surrounding tag with class="amount"
2) any adjacent currency and amount have an implied surrounding tag
Following those two assumptions, we end up at the markup you
supplied, without actually typing all that.
> Does that solve the whole problem and give us an extra usefulness at
> the same time
I think the relevant questions here are: 1) what exactly is that
extra usefulness? and 2) is it worth the cost of more verbose markup?
I have a vague suspicion the answer to the latter is "yes," but I
haven't yet been able to clarify the answer to the former myself just
yet, and Mike makes persuasive arguments for minimizing the markup.
I'd be interested in others' thoughts on this.
More information about the microformats-discuss