[whatwg] Question: rel="help"

Schalk Neethling sneethling at mozilla.com
Thu Sep 29 10:34:40 PDT 2011

Hi Anna,

I heard some mention of using the data-* attributes so, something like:
<a href="" data-tooltip="Some help text"></a>


<input type="text" data-tooltip="Some help text" />

Would you agree that this is the better option?

On 29/09/2011 16:50, Anne van Kesteren wrote:
> On Thu, 29 Sep 2011 16:35:33 +0200, Schalk Neethling
> <sneethling at mozilla.com> wrote:
>> Question, would an element with rel="help" and a title="Help text"
>> make sense and be valid as a JavaScript hook for tooltips?
>> Does not match the usage as described by the WHAT-WG
>> (http://developers.whatwg.org/links.html#link-type-help) exactly, but
>> close enough?
> If there is no actual hyperlink, using a link relation does not make sense.

Kind Regards,
Schalk Neethling
Mozilla Corporation

More information about the whatwg mailing list