how to do a link in html code example Example 1: html links <a href="url">link text</a> Example 2: a href code <a href="link">Text</a>