I'm trying to mark up article sections (articleSection
) on my blog listing page. Each article section also has a link to go to that section.
Which of these syntaxes, if any, is correct as they produce different results in the Google Structured Data Testing Tool:
<a href="#"><span itemprop='articleSection'>section name 1</span></a>
Testing Tool result: articleSection: section name 1
<span itemprop='articleSection'><a href="#">section name 2</a></span>
Testing Tool result: articleSection: section name 2
<a href="#" itemprop='articleSection'>section name 3</a>
Testing Tool result: articleSection: http://www.example.com/pagelocation/#
Perhaps this matters, perhaps it doesn't.
Does having a link inside the articleSection
property help? articleSection
looks for 'text' not URL.
GoldStarBonus: Is there any way/advantage to associate a link to the articleSection name? If not, that's fine for now.