html to give link code example
Example 1: link in html
<a href="https://example.com">Link text goes here</a>
Example 2: html button with link
<form action="https://google.com">
<input type="submit" value="Go to Google" />
</form>
<a href="https://example.com">Link text goes here</a>
<form action="https://google.com">
<input type="submit" value="Go to Google" />
</form>