Is it acceptable in SEO and semantics to use tags like <h2>
, <h3>
, <p>
and <div>
within <a href=""></a>
?
I noticed that to make items on a page people usually use a structure similar to this:
<div class="item">
<a href="produto/1">
<figure>
<img src="images/produto-1.jpg" alt="produto 1">
</figure>
<h2>Produto</h2>
<p class="price">R$ 1000</p>
</a>
</div>
I know that the <a>
tag is inline and needs display: block
to work, but the question really is about SEO and semantics.