On Wed, Jul 6, 2011 at 11:27 PM, Alexander <alxndr(a)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
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
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
will raise a warning but not an error: