Answer the question
In order to leave comments, you need to log in
Microdata for tables. How to label cells?
I have a lot of similar tables on the site, I decided why not mark it up, especially since the Schema has micro- markup schema.org/Table specially for tables. But there in their example only about is registered. Did I use itemprop="name" correctly in my example and what property should I assign to the rest of the cells?
<div itemscope itemtype="http://schema.org/Table">
<table class="table">
<caption itemprop="about">Сравнение коров</caption>
<thead>
<tr>
<th itemprop="name">Зорька</th>
<th itemprop="name">Буренка</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="2">Окрас</td>
</tr>
<tr>
<td>пестрый</td>
<td>черно-белый</td>
</tr>
<tr>
<td colspan="2">Надои</td>
</tr>
<tr>
<td>30 л</td>
<td>20 л</td>
</tr>
<tr>
<td colspan="2">Масса</td>
</tr>
<tr>
<td>300 кг</td>
<td>350 кг</td>
</tr>
</tbody>
</table>
</div>
Answer the question
In order to leave comments, you need to log in
Search engines have tools for checking microdata, so redirect your question to them:
Google: https://search.google.com/structured-data/testing-... Yasha
: https://webmaster.yandex.ru/tools/ microtest/
paste your url and read recommendations and errors
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question