We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following (inconsistent?) use of span / meta is not clear to me: Are all these examples (from data/example.txt) valid and best practice?
<span itemprop="priceCurrency" content="USD">$</span> <span itemprop="priceCurrency" content="USD" />$ <meta itemprop="priceCurrency" content="USD" />$
<span itemprop="priceCurrency" content="USD">$</span>
<span itemprop="priceCurrency" content="USD" />$
<meta itemprop="priceCurrency" content="USD" />$
<span property="price" content="13.00" /> <meta property="price" content="13.00" />
<span property="price" content="13.00" />
<meta property="price" content="13.00" />
The text was updated successfully, but these errors were encountered:
Invalid, because in HTML+Microdata the content attribute is only allowed on the meta element. (There are plans to change this: w3c/microdata#20.)
content
meta
Invalid, for the reason mentioned above (content attribute) and because the span element needs a closing tag.
span
Valid.
Invalid, because the span element needs a closing tag. (In HTML+RDFa the content attribute is allowed on every element.)
Sorry, something went wrong.
@unor Thank you very much. I changed invalid tags in data/example.txt #1676 I hope it helps in case someone needs valid output.
This issue is being tagged as Stale due to inactivity.
Conversation now transferred to PR #1675
No branches or pull requests
Following (inconsistent?) use of span / meta is not clear to me:
Are all these examples (from data/example.txt) valid and best practice?
<span itemprop="priceCurrency" content="USD">$</span>
<span itemprop="priceCurrency" content="USD" />$
<meta itemprop="priceCurrency" content="USD" />$
<span property="price" content="13.00" />
<meta property="price" content="13.00" />
The text was updated successfully, but these errors were encountered: