schemaorg-coda :: Example

eg-0418

From v29.4

Microdata

<!-- Product: Grouping and Hierarchical Order of Properties -->
<div itemscope itemtype="https://schema.org/Product">
  <img itemprop="image" src="camera123.jpg" alt="" />
  <span itemprop="name">Digital Camera 123</span>
  <div itemprop="additionalProperty" itemscope itemtype="https://schema.org/PropertyValue">
      <strong itemprop="name">Focus/Autofocus</strong>
      <div itemprop="value" itemscope itemtype="https://schema.org/PropertyValue">
        <span itemprop="name">Picture Control</span>
        <span itemprop="value">Landscape</span>
        <span itemprop="value">Monochrome</span>
        <span itemprop="value">Portrait</span>
      </div>
      <div itemprop="value" itemscope itemtype="https://schema.org/PropertyValue">
        <span itemprop="name">Single-point AF Mode</span>:
        <meta itemprop="value" content="True">Yes
      </div>
  </div>
</div>

Pre-Markup

<!-- Product: Grouping and Hierarchical Order of Properties -->
<div>
  <img src="camera123.jpg" alt="" />
  <span>Digital Camera 123</span>
  <div>
      <strong>Focus/Autofocus</strong>
      <div>
        <span>Picture Control</span>
        <span>Landscape</span>
        <span>Monochrome</span>
        <span>Portrait</span>
      </div>
      <div>
        <span>Single-point AF Mode</span>: Yes
      </div>
  </div>
</div>