: Schema.org/Book with multiple authors How would one write markup for a book with multiple authors? This is what I currently have, it is marked up for just one author: <div itemscope itemtype="http://schema.org/Book">
How would one write markup for a book with multiple authors?
This is what I currently have, it is marked up for just one author:
<div itemscope itemtype="http://schema.org/Book">
<h1>My Book</h1>
<p>by
<span itemprop="author">
<span itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Author 1</span>
</span>
</span>
</p>
</div>
Would I just need to add multiple authors like this?
<span itemprop="author">
<span itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Author 1</span>
</span>
</span>
<span itemprop="author">
<span itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Author 2</span>
</span>
</span>
<span itemprop="author">
<span itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Author 3</span>
</span>
</span>
More posts by @Turnbaugh106
1 Comments
Sorted by latest first Latest Oldest Best
Yes, provide multiple author properties.
But note that the itemprop has to be specified on the element with the itemscope.
<div itemscope itemtype="http://schema.org/Book">
<span itemprop="author" itemscope itemtype="http://schema.org/Person"></span>
<span itemprop="author" itemscope itemtype="http://schema.org/Person"></span>
<span itemprop="author" itemscope itemtype="http://schema.org/Person"></span>
</div>
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.