Answer the question
In order to leave comments, you need to log in
How does the link in the h1-h3 headings affect SEO optimization?
Imagine two identical sites, on the first:
On the second:
Who will be given preference? <h1>Заголовок</h1>
<h1><a href="/test/">Заголовок</a></h1>
Answer the question
In order to leave comments, you need to log in
Any link is an inline element, so the same rules apply to it as for inline elements. Namely, you cannot place block elements inside the tag, but it is permissible to do the opposite and ...
Like the title should be the title.
I would do so
<h1 onclick="window.location.href='/test'">Header</h1>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question