html hyperlink tag code example

Example 1: html links

<a href="url">link text</a>

Example 2: html link

<a href="https://www.google.com/">Link to google</a>

Example 3: how to make links in html

<a href="link.html"> text link </a> <!-- link to html -->
<a href="google.com" URL> Google </a> <!-- link to site -->
<a href="link.html"><button> Link </button></a> <!-- Button link -->

Example 4: how to display a link in html

<a href="https://www.google.com/"> google </a>

Example 5: html link tag

<head>
  <link rel="stylesheet" type="text/css" href="theme.css">
</head>

Example 6: link in html

<a href="https://example.com">Link text goes here</a>

Tags:

Misc Example