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

[whatwg] <a href="" ping="">

From: S. Mike Dierken <mike@dierken.com>
Date: Fri, 21 Oct 2005 20:26:55 -0700
Message-ID: <20051022032653.1850C107AA8@legolas.dreamhost.com>
> Bearing the above in mind, I've added a section to the <a> 
> element that describes a ping="" attribute. The URIs given in 
> this attribute would be followed when the user clicks the 
> link, thus getting around the problems listed above.
The term 'ping' in terms of RSS/blogs often means to POST some data, but in
this case, it would be a GET request - that may get confusing. 
Perhaps 'also-get' or 'snoop-href' something like that.

Ideally, the data within the tags would be able to have more than one anchor
and each would have different roles, but I don't think HTML supports that
(except for the <link> elements in the <head> section since they apply to
the containing document). For example: 
 <a href='...' rel='default'><a href='...' rel='snoop'>this uses nested
anchors - which are illegal</a></a>
(nested anchors are illegal I know...

So the pragmatic alternative is exactly as you suggest - a new attribute.

> Thoughts? Is it evil?
Yes, but even the anti-christ is just another customer.
Received on Friday, 21 October 2005 20:26:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:43 UTC