我试图找出在<figure>和<figcaption>上使用微数据的正确方法

时间:2018-04-14 14:29:56

标签: microdata

我尝试了这个,但不断收到错误,说地址需要一个值。但是,这正是他们在schema.org上的方式

       <section class="content col-sm-4 mx-auto" id="germination" itemscope 
             itemtype="http://schema.org/Event"> 
           <a itemprop="url" 
             href="http://mevocals.weebly.com/germination.html">
        <img itemprop="image" class="img-fluid rounded " 
        src="https://freedomfieldme.net/images/germinationPoster_02.png" 
          alt="Germination poster of Freedom Field Cannabis Friendly camping 
        and music festival" title="Germination">
           <h4 itemprop="name">Germination Camping and Music Fesitval&#33; 
           </h4>
           </a>
           <p>Our first festival of the year. Come and help us start the 
              season off with a bang!</p>
           <meta itemprop="startDate" content="2018-04-17T1600">
            Thu, 04/17/2018<br>
            4:pm.
           <div itemprop="location" itemscope 
            itemtype="http://schema.org/Place">Freedom Field</div>
                <div itemprop="address" itemscope 
                   itemtype="http://schema.org/PostalAddress">
                    <span itemprop="addressLocality">Harmony</span>
                    <span itemprop="addressRegion">ME</span>
                 </div>
            </section><!--germination-->

0 个答案:

没有答案