Link to External Pages with Anchor Elements


a elements, also known as anchor elements, are used to link to content outside of the current page.

Here's a diagram of an a element. In this case, the a element is used in the middle of a paragraph element, which means the link will appear in the middle of a sentence.

a diagram of how anchor tags are composed with the same text as on the following line

Here's an example:

<p>Here's a <a href="http://devmounta.in"> link to DevMountain</a> for you to follow.</p>

Create an a element that links to http://thecatphotoapp.com and has "cat photos" as its anchor text.