- From: Chuck <chuck42@gmx.de>
- Date: Sat, 25 Feb 2012 17:02:15 +0100
- To: public-vocabs@w3.org
Hello,
I have two questions concerning the `itemprop' attribute:
(1) It is true, that per HTML-element there can be just one
`itemprop'?! 
An example: If I want to write a homepage for me, the following code
would not be correct, right?:
<body itemscope itemtype="http://schema.org/ProfilePage">
   <div itemprop="about" itemprop="author" itemscope itemtype="http://schema.org/Person">
      ... something about my person ...
   </div>
</body>
(2) Can I nest the `itemprop' attribute? Would the following code be correct?
<div itemscope itemtype="http://schema.org/Person">
   <a href="http://myhomepage.com" itemprop="url">
      <img src="myimage.jpg" itemprop="image" />
   </a>
</div>
Greetings,
Chuck
Received on Sunday, 26 February 2012 22:19:44 UTC