target element by href in html click show content code example
Example 1: html link
<a href="https://www.google.com/">Link to google</a>
Example 2: link to external site html
<a href="https://www.example.com">This is a link</a>
<a href="https://www.google.com/">Link to google</a>
<a href="https://www.example.com">This is a link</a>