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

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 31 Oct 2008 19:29:00 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0810311928170.1041@hixie.dreamhostps.com>
On Fri, 31 Oct 2008, Pentasis wrote:
> 
> Anyway, following some discussions on the web regarding footnotes/side 
> notes I have found that there is a need for some form of element to mark 
> these up. The most commonly accepted element at the moment seems to be 
> to use the <small> element. But this is clearly a wrong use of 
> semantics.

The spec already describes how to do footnotes:

   http://www.whatwg.org/specs/web-apps/current-work/#footnotes


> 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.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 31 October 2008 12:29:00 UTC

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