Handling hyperlink references to Tridion Sites resources
If you use a link element in your Dreamweaver Template (the <a> element), you need to add a custom attribute tridion:href and specify the URI of the Content Manager item you want to link to instead of the href attribute. The Compound Template in which the template is included must also contain the Link resolver default Template Building Block to process the hyperlinks properly.
The following link creates a hyperlink to the Component with the Content Manager URI tcm:8-299 and that the href attribute contains a dummy value (that the Compound Template ignores):
<a href="dummy.html" tridion:href="tcm:8-299">hyperlink text</a>
Instead of a Content Manager URI such as tcm:8-299, you can also specify a variable in the tridion:href attribute that resolves to a Content Manager URI, for example, @@Component.ID@@.