W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Idea: Links w/o end anchors (is possible)

From: ppj <ppj@concept67.net>
Date: Wed, 22 Jul 2009 12:02:46 +0000
Message-ID: <20090722120246.GA5210@concept67.net>
On Wed, Jul 22, 2009 at 06:50:33AM -0400, Darxus at ChaosReigns.com wrote:
> On 07/22, ppj wrote:
> > e.g. <a href='...' search='...'>link text</a>
> 
> I've wished for this a number of times, but I think I would be more
> interested in the spec saying that a document should include id tags at
> every point someone might want to link to which the author of the document
> is willing to provide.
> 
> It seems odd to me that the definition of the id attribute doesn't mention
> its use as a fragment identifier.
> http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#the-id-attribute
> 
> -- 

Hi,
We played with filling documents with ids a lot. This is not a bad idea, but 
the users (imho) want to link to text first and foremost. So I'm 
suggesting we could let them. 

Folks have suggested XPointer vs. attribute hack on the <a> element. But I would
prefer the element to have something superficial ordinary people can 
understand, even if behind the scenes the browser turns that into XPointer.
What's the present rate of user uptake of XPointer?

Kind regards,
Peter
Received on Wednesday, 22 July 2009 05:02:46 UTC

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