[Hick2013] |
Ian Hickson.
HTML Microdata.
W3C Working Group Note 29 October 2013.
World Wide Web Consortium (W3C),
2013.
www.w3.org/TR/microdata/
(accessed: Jan. 13, 2015). |
|
The following code example illustrates
the use of
bibscope
to mark up this web-document reference:
|
<td itemscope ="itemscope"
.... itemtype ="http://www.axeleratio.com/voc/bibscope#webdoc">
.. <span itemprop ="editor ">Ian Hickson</span>
.. <span itemprop ="title ">HTML Microdata</span>.
.. <span itemprop ="subtitle ">W3C Working Group Note 29 October 2013</span>.
.. <span itemprop ="association ">World Wide Web Consortium (W3C)</span>,
.. (<span itemprop ="year ">2013</span>).
.. <br />
.. <a itemprop ="url "
..... href ="www.w3.org/TR/microdata/ "
..... title ="HTML Microdata ">www.w3.org/TR/microdata/</a>
.. (accessed: <span itemprop ="access-date ">Jan. 10, 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 web-document reference.
|