How to add Meta Data explicitly for tabs ?
I have some pages which have tabs in it which opens URLs of type http://www.blahblah.com/page#tab1
How to add meta data related to tab1 tab2 etc. I do not want to add it in parent page.
EDIT : Reference
<div itemscope itemtype="http://data-vocabulary.org/Person">
My name is <span itemprop="name">Bob Smith</span>,
but people call me <span itemprop="nickname">Smithy</span>.
Here is my homepage:
// Does this URL Come up in Search as primary Link ? If so I can set it to
mysite.com/page#tab1
##<a href="http://www.example.com" itemprop="url">www.example.com</a>.##
I live in
<span itemprop="address" itemscope
itemtype="http://data-vocabulary.org/Address">
<span itemprop="locality">Albuquerque</span>,
<span itemprop="region">NM</span>
</span>
and work as an <span itemprop="title">engineer</span>
at <span itemprop="affiliation">ACME Corp</span>.
</div>
As specified by W3C the
<meta>tag can only be located in the<head>part of your HTML so you can’t use these tags for your tabs. However, you could use Sitemapscould be a good solution for you. According to the site,
You can generate the sitemap of your site with this site in XML, add the tabs manually, and then submit it to the different search engines directly or add it in your
robots.txtfile as follows:You could also use microdata, as specified in this W3C Specification. According to the spec:
So even if your URL contains a fragment (the
#part), the different search engines should point to the correct tab. For example, Google adds a “jump to” link. See this old blog post.