External link to a bookmark

Sample code:

<!DOCTYPE html>
    <title>Another Website Name</title>
      <h2 id="target">Bananas</h2>

What is the right text link to target the bookmark on another website? Is it enough:

<a href="http://www.example.com/fruits#target">Bananas</a>

Or should I mention the page title and website title as well? If so, should I use hyphens:

<a href="http://www.example.com/fruits#target">Bananas - Fruits - Another Website Name</a>

Or colons:

<a href="http://www.example.com/fruits#target">Another Website Name: Fruits: Bananas</a>

Or pipes? Or a combination of them? Is there a standard to follow? What is the best practice?

I think usually an external link icon next to “Bananas” should suffice. You can see the full URL when hovering the link anyway.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.