Is it possible to include html code before the anchor text and would it harm the search engine's crawler to read it?
It is that I need the link to have a certain width, which is not limited by the size of the text.
<a href="/cine.php"><div class="3d-cine">
<div class="text-3d-cine">CINE</div>
</div>
</a>
As you can see, the anchor text is inside a div, and this at the same time is inside another div, and outside is the link that leads to the site.
The same is a silly question, but I have never encountered a similar problem, I have always placed the anchor text inside the link and never in this way. Would search engines have problems?
According to the HTML5 specifications , a tag
<a>
can wrap other line or block tags as long as they do not include interactive content (buttons or other links):So the search engine should have no problem finding the anchor text, as long as the text markup is correct.
In any case, and depending on what you want, you may be able to achieve the aesthetic effect you need without having to resort to
<div>
additional 's.