Code: Select all
<a name="...">
Code: Select all
<a name="foo"></a>
<div>blah blah content</div>
Code: Select all
<div id="foo">blah blah content</div>
Code: Select all
<a href="#foo">link</a>
How stable is that behavior / how much can I rely on it being there? Is this a browser quirk or standard behavior?
I discovered it by accident and can't find anything about it on MDN nor the WHATWG standards.
Thanks