I Want an Inline Link

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Creating Text and Image Links</title>

</head>

<body>

<P>Toronto's languishing condos deliver 'reality check' for small-time real estate investors</P>

<a href="https://financialpost.com/real-estate/torontos-languishing-condos-put-mom-and-pop-investors-in-a-bind">Toronto's languishing condos</a>

</body>

</html>

I wanted the link to be inline within the top line - instead I got it as a second separate link - what is wrong with my code here?

You can just stick the anchor where you want it:

<p><a href="https://financialpost.com/real-estate/torontos-languishing-condos-put-mom-and-pop-investors-in-a-bind">Toronto's languishing condos</a> deliver 'reality check' for small-time real estate investors</p>

Also, paragraph elements are usually with a lower case “p”. All HTML elements are lowercase, I think.

1 Like

add the element “a” inside “p”

<p>Toronto's languishing condos deliver 'reality check' for small-time real estate investors <a href="https://financialpost.com/real-estate/torontos-languishing-condos-put-mom-and-pop-investors-in-a-bind">Toronto's languishing condos</a></p>

Hi @ttibsen!

This concept was introduced in this lesson.

Happy coding!

<p>
  <a href="target web page url">anchor text</a>
</p>

You mean like this - yes ? I think I got that from Kevin Smith’s answer already so I am good thanks.

Thanks jwilkins -I will go over this lesson once more and hopefully, it gets embedded in my mind this time around.