w3 anchor code example

Example 1: anchor tag

The HTML <a> element (or anchor element), with its href attribute, 
creates a hyperlink to web pages, files, email addresses, locations
in the same page, or anything else a URL can address. Content within
each <a> should indicate the link's destination.

Use:

<a href="https://example.com"> </a>

Example 2: htlm link

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

Example 3: link to external site html

<a href="https://www.example.com">This is a link</a>

Tags:

Php Example