The following is the most basic hyperlink code. To make a hyperlink, add the href attribute to the Anchor (a) tag. The href attribute can have an absolute value (http://www.hyperlinkcode.com/make-hyperlink.php) or a relative value (make-hyperlink.php).