G
G
Grigory Vasilkov2016-02-02 03:15:42
Search Engine Optimization
Grigory Vasilkov, 2016-02-02 03:15:42

Did the search engine impose fines on a site with “incorrect” markup?

I have a menu on the site, and the menu contains items in two lines in size. The cant is that the menu items themselves have a certain height, so these two lines need to be centered in height.
In addition, the customer wanted a mobile version where the hover event does not work, and elements of the LI type are not highlighted using the phone arrows, that is, I need to bind to the A (link) element to make the highlight.
In any case, I make this element a block element.
So I have to do something like this:

<a href="#">
  <table>
    <td>{{name}}</td>
  </table>
</a>

What will the search engine say about such links?
Will the site get fined?
Is there any other smart way to do this? (I'm considering
a {display: table}, .in {display: table-cell; vertical-align: middle;}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grigory Vasilkov, 2016-02-05
@gzhegow

it turns out much better that the link itself is a table cell, and wrap it in turn in a block with display: table

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question