W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] Add 'type' attribute to <mark>

From: Eduard Pascual <herenvardo@gmail.com>
Date: Sat, 1 Nov 2008 01:20:14 +0000
Message-ID: <6ea53250810311820v3126b276t9120e1d51dbdb9e0@mail.gmail.com>
On Fri, Oct 31, 2008 at 7:29 PM, Ian Hickson <ian at hixie.ch> wrote:
> On Fri, 31 Oct 2008, Pentasis wrote:
>> As the <mark> element has different usages defined on it already why not
>> include a "type" attribute (or similar) that defines what it is used
>> for. One of these types would then be "footnote", others could be
>> (relating to what is already in the spec) "term", "highlight" etc. (I am
>> sure others would be much better at thinking up names than I am).
> That's what the "class" attribute is for.

What's the difference then between <mark> and <span> then? I mean,
does the <mark> element provide anything that <span> with an
appropriate class wouldn't?
Received on Friday, 31 October 2008 18:20:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC