Re: meta question

On 1 March 2013 23:04, Karen Coyle <kcoyle@kcoyle.net> wrote:

> For a given property that has an expected type of text (as the "abridged"
> property will have), can it then be coded in either of these ways:
>
> <meta itemprop="abridged" content="Unabridged"/>
> <span itemprop="abridged">Unabridged</span>

Yes.

==============================
itemprop="property-name" — adds a property to a microdata item. The
name of the property can be a word or URL, and the value is the
‘content’ of the element with this attribute:

* For most elements, the value is the element’s text content (not
including any HTML tags)
* For elements with a URL attribute, the value is the URL (<img
src="">, <a href="">, <object data="">, etc.)
* For the <time> element, the value is the datetime="" attribute
* For <meta itemprop="" content="">, the value is the content="" attribute
==============================
http://html5doctor.com/microdata/
==============================

Received on Friday, 1 March 2013 23:30:45 UTC