I just started learning HTML a few hours ago through freeCodeecamp. So far I'm at nesting links within other text elements using <p>
Now, I don't understand the need to put <p> when you can just write an <a> element and it does the same thing. Can someone guide me?
Also, if you've got other resources that would be great hehe. Thanks!
Example:
<p>
View more <a href="http://freecatphotoapp.com" target="_blank">cat photos</a>
</p>
versus
View more <a href="http://freecatphotoapp.com"target="_blank"> cat photos</a>