The three shapes
A dead destination returns an error or a redirect to somewhere irrelevant. It is found by requesting the URL.
A dead fragment resolves to no id on a page that exists. It is found by comparing the fragment against the destination's ids, and it is invisible to a plain status-code crawl.
A placeholder href is not a link at all: a bare #, an empty string, a JavaScript call that does nothing, or an example domain left from a documentation sample. Found by reading the markup.