On Wed, Jul 6, 2011 at 11:27 PM, Alexander alxndr@gmail.com wrote:
IIRC, all modern browsers support hash linking to any element with an id attribute.
Where "modern" means something like "since IE5", yes. All browsers we care about even slightly support linking to id's, and most browsers we don't care about even slightly do too.
On Thu, Jul 7, 2011 at 12:52 AM, Daniel Friesen lists@nadir-seen-fire.com wrote:
Yes, in fact that's the standard. The standard has been id="" since XHTML. HTML5 continues it, name="" is gone. Only ancient HTML4 used <a name=""> and it's only used in obsolete browsers now.
More precisely, <a name=""> still works fine in all browsers, as required by HTML5, and will continue to work forever in all browsers. HTML5 defines <a name=""> as "obsolete but conforming", so validators will raise a warning but not an error:
http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#warnings-for-obsolete-but-conforming-features