To make a hyperlink, add the href attribute to the Anchor (a) tag.

The href attribute can have an absolute value (https://www.hyperlinkcode.com/make-hyperlink.php) or a relative value (make-hyperlink.php). See below for example code snippets ..

Here's the plain old HTML hyperlink code using the anchor a tag and href attribute. Replace the URL with your own destination address ..

<a href="https://www.hyperlinkcode.com/">Hyperlink Code</a>


Hyperlink Code

Make <a href="https://www.hyperlinkcode.com/">hyperlink code</a> easily.

Make hyperlink code easily.


See also How to open hyperlinks in a new browser window.