A tag inside p HTML?

The a tag element must be in a p tag? Like

<p><a href="www.google.com">test</a></p>

or i tag is need always an p tag?


Or just elements with p tags need that like em tag and dfn tag etc?


1 Like

HTML tags do not always need to be inside of a p tag. ‘P’ is for ‘paragraph’, so if you want to have a link, icon, etc inside a text paragraph, then those tags would go inside the p tag.