- From: Ian Hickson <ian@hixie.ch>
- Date: Mon, 1 Dec 2008 22:13:25 +0000 (UTC)
On Mon, 1 Dec 2008, Calogero Alex Baldacchino wrote: > > > > Yes, a hash link (<a href="#foo">) will scroll to the element with an > > id=foo. If coding properly, you'll virtually *never* use an <a> for > > an actual *anchor*, but rather will target the most semantically > > appropriate element, such as a heading or a container with the > > appropriate @id. > > Thanks! That's what I was missing in the specicification (I should give it a > more accurate reading). Does it applies to every element, covering the <cite> > element too? See: http://www.whatwg.org/specs/web-apps/current-work/#scroll-to-fragid Let me know if that doesn't address your use case. Cheers, -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 1 December 2008 14:13:25 UTC