I
I
invisii2021-01-15 00:06:18
Google
invisii, 2021-01-15 00:06:18

The A tag and its nested tags. What will Google consider an anchor?

Good day. For example, there is such a piece of code. As far as I know it is not allowed to use nested tags inside an A tag is not allowed.

Actually a question. What does Google consider an anchor in this piece of code? And what will it mean in terms of promotion?

<a title="Werkzeug" href="//website.com/tools" class="feature feature_sm">
    <img  title="Werkzeug" class="icon__feature icon__feature_sm" width=90px src="/catimg/1/Tools/1.jpg" alt="Werkzeug">
      <div class="feature__text-container">
               <span class="feature__text feature__text_sm text_semi-bold">Werkzeug</span>
       </div>
</a>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Ezhgurov, 2021-01-15
@invisii

IMGs could be nested in A since the dawn of the Web. In modern HTML, you can nest block tags in an A, as long as the A itself is in a block tag. So a DIV inside A is possible.
It is absolutely forbidden to put tags into tag A: INPUT, TEXTAREA, BUTTON, SELECT.
SEO "anchor" made sense 15-20 years ago, when search engine algorithms were primitive. In the modern world, its importance is greatly exaggerated. However, not a single SEO specialist knows and cannot know what factors play what role: search engines do not publish ranking algorithms, and without them, any recommendations are shamanic dances with a tambourine.

R
Ruslan Makarov, 2021-01-15
@facepook

text on the link, anchor, if links are considered to be anchors on local networks #

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question