[RSC] |
ChemSpider.
Search and share chemistry.
Royal Society of Chemistry.
www.chemspider.com
(accessed: Jan. 13, 2015). |
|
The following code example illustrates
the use of
bibscope
to mark up this website reference:
|
<td itemscope ="itemscope"
.... itemtype ="http://www.axeleratio.com/voc/bibscope#website">
.. <span itemprop ="title ">ChemSpider</span>.
.. <span itemprop ="subtitle ">Search and share chemistry</span>.
.. <span itemprop ="owner ">Royal Society of Chemistry</span>.
.. <br />
.. <a itemprop ="url "
..... href ="http://www.chemspider.com "
..... title ="ChemSpider ">www.chemspider.com</a>
.. (accessed: <span itemprop ="access-date ">Jan. 14, 2015</span>).
</td>
|
The semantically annotated text parts
are captured via span elements and, in the case
of the URL string, via an a element. In each case,
the itemprop attribute specifies the contained text.
All annotated elements are siblings of the
td element—the parent that encloses
them.
The itemtype attribute of the parent node
identifies its microdata-structured entry as a
bibscope-encoded website reference.
|