[whatwg] Citing multiple <blockquote> elements in HTML5

Ian Hickson ian at hixie.ch
Mon Dec 1 14:13:25 PST 2008


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list