Is <link> (not rel=“stylesheet”) allowed to be used in <body>?

后端 未结 7 482
情书的邮戳
情书的邮戳 2020-12-07 20:24

The new schema.org by Google, Yahoo and MS recommends usage of the attribute to display the status of products in an online shop:

&         


        
7条回答
  •  囚心锁ツ
    2020-12-07 21:07

    The WHATWG HTML specification mentions, that the LINK-element can either have a rel-attribute:

    
    

    or an itemprop-attribute

    
    

    but not both.

    The rel-version is restricted to the HEAD-element, whereas the itemprop-version may appear in both, the HEAD and BODY-elements.

    http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-link-element

    What is this WHATWG specification:

    whatwg.org/specs/web-apps/current-work/multipage/introduction.html#is-this-html5?

提交回复
热议问题