links in html 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: html links

<a href = "url.png"> Text that is shown</a>

Example 5: how to add links in html

<a class="class" href="link" id="id">Text</a>

Example 6: linking external pages html

<a href="https://www.w3schools.com/html/">Visit our HTML tutorial</a>

Tags:

Css Example