Basic HTML and HTML5: Nest an Anchor Element within a Paragraph Please h3lp!

*I feel like I copied the exact solution from another help section and it’s still not working, still says my a element should be nested within my p element.

Your code so far.

<p> View more
  <a href="http//frecatphotoapp.com" target="blank">cat photos</a>
  </p>

Your browser information: Safari

it seems you have deleted your whole code and the challenge link, can you please give those?


issues I see with the information you provided:

  • an url starts with http://, you are missing the :
  • blsnk is not a valid value for target, it should be _blank

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).