There is two types of elements, the first have a closing tag like <p></p> the <p> is the openening and the </p> is the closing and the content is between them, and the secon type is the self-closed elements like <img> the image element don’t have a closing tag, You need to check if the <a> is a self-closing element or not.
If we want to turn an element or a word to a link we put that word or element inside the <a></a> element.
for example we will to turn the word 'paragraph' to a link:
<p>This is a simple <a href="https://www.site.com">paragraph</a></p>