schema.org

For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
Post Reply
User avatar
roedygr
Rank V - Professional
Posts: 367
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

schema.org

Post by roedygr »

Schema.org asks you to insert tags like this
<link itemprop="availability" href="http://schema.org/InStock">
in your HTML. You can classify what your data is in a standard way to help the search engines and screenscrapers.

I was quite puzzled that such a link tag did not alarm HTMLValidator, even though it appeared outside
the <head> and had a non-standard itemprop parameter. Normally <link appears in the header to hook up stylesheets.

I just wanted to make you aware of this so you are consistent.
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: schema.org

Post by Albert Wiersch »

Hello Roedy,

This is because, according to the WHATWG HTML5 spec, the "link" element can be flow or phrasing content if the "itemprop" attribute is used, so it's not limited to only metadata in the "head" section.

http://www.whatwg.org/specs/web-apps/cu ... nk-element
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Post Reply