Answer the question
In order to leave comments, you need to log in
From the point of view of SEO optimization, what is the best way to arrange tags and links?
What is the best way to structure?
h > a > text
a > h > text
?
<h3>
<a title="1" href="/Post/Details/1">1</a>
</h3>
<a title="1" href="/Post/Details/1">
<h3>1</h3>
</a>
Answer the question
In order to leave comments, you need to log in
If the decisive factor is search engine optimization, then you will not notice the difference. This is too insignificant a factor to determine with any accuracy its impact on SEO.
Prior to the HTML5 standard, you couldn't nest block-level elements inside inline elements, so you put a link inside a subhead. Like this:
Now, according to the new standards, both options are valid. The difference between them is that by wrapping it in a link, the entire block will be clickable. If it’s the other way around (link inside the subheading), then only the text itself will be clickable.
And again, for SEO, you will not notice the difference, no matter what anyone says, because this is too insignificant a factor, you will not be able to track its influence (if it exists at all). And according to the HTML specification, both options will be valid.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question