HTML Anchors with name or id?
Posted: 14 Nov 2014, 08:32
When I want to refer to some part of a webpage with the "example.com/page#Mark"-method, should I use:
Or:
I know that both work, but are they equal, or do they have semantic differences?
Code: Select all
<h3><a name="foo"/>Mark Title</h3>
Code: Select all
<h3 id="Mark">Mark Title</h3>