[whatwg] Making it possible to do an anchor link to any DOM node

Elliotte Rusty Harold elharo at metalab.unc.edu
Wed Jun 18 14:31:46 PDT 2008


Lukas Kahwe Smith wrote:
> Hi,
> 
> Currently when linking to specific places in a document one is limited 
> to the places the original author made linkable via an anchor <a> tag. 
> While this is a nice touch (though not well exposed by modern browsers), 
> the reality is that most of the time the person who writes a document 
> that links to the original page has a better idea of where exactly he 
> wants to link to.


Actually, what you link to these days is any element with an ID attribute.

What you're proposing is to reinvent XPointer.

-- 
Elliotte Rusty Harold
elharo at metalab.unc.edu



More information about the whatwg mailing list