Itemscope and itemprop at same level

后端 未结 2 1949
执笔经年
执笔经年 2021-01-18 06:43

I have a link that looks like this:


             


        
2条回答
  •  情深已故
    2021-01-18 07:34

    No you don't need another wrapper to do that. You can specify itemprop="url" to the a tag.

    This technique called "nested scope"

    More about this is available at section 2.2 The basic syntax of this link http://www.w3.org/TR/2011/WD-microdata-20110525/

提交回复
热议问题