Re: meta question

Thanks, Alf. I'll add both as examples in the vocabulary proposal.

kc

On 3/1/13 3:29 PM, Alf Eaton wrote:
> 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/
> ==============================
>
>

-- 
Karen Coyle
kcoyle@kcoyle.net http://kcoyle.net
ph: 1-510-540-7596
m: 1-510-435-8234
skype: kcoylenet

Received on Friday, 1 March 2013 23:55:29 UTC