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

Ian Hickson ian at hixie.ch
Fri Oct 31 12:29:00 PDT 2008

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:


> 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.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list