HTML5 microdata: span content?

前端 未结 2 1893
借酒劲吻你
借酒劲吻你 2020-11-29 12:37

I have read the HTML5 specification, the microdata specification, and the WHATWG HTML5 (with microdata) specification. These are well written and easy to understand.

2条回答
  •  我在风中等你
    2020-11-29 13:12

    (Sorry, I didn't have enough reputation to post a comment.)

    We're at the end of 2017 now. Somehow, the MDN webdocs (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/itemprop) and the schema docs (http://schema.org/telephone) still propose to use a content attribute on span using microdata. No html5 validator will accept this of course.

提交回复
热议问题