2

I understand why and how to use Schema.org to add microdata to your site, this is not a question about that. The question is why Schema.org has support for certain things that can be marked up with simple HTML5. Among these are

Types

  • WebPage and WebSite

    I can see why WebPage and WebSite would be needed, for example, to reference the page/site of a certain organization in a link, but there's no need to mark up your own page with this—the <html> tag does this.

  • SiteNavigationElement

    Why not just use <nav>?

  • Table

    Just use <table>.

properties

chharvey
  • 8,580
  • 9
  • 56
  • 95
  • Each of those links has examples at the bottom that clearly show why they're different from raw HTML tags. It's for additional semantic data in a structured manner so robots/spiders can understand your pages better. – ceejayoz Jan 09 '15 at 14:46

2 Answers2

5

This answer is primarily about the WebPageElement types (like SiteNavigationElement).

For WebPage, see my answer to the question Implicity of web page structure in Schema.org (tl;dr: it can be useful to provide WebPage, even for the current page).

For WebSite, similar reasons from the answer above apply. HTML doesn’t allow you to state something about the whole site (and, by the way, a Google rich result makes use of this type).


Schema.org is not restricted to HTML5.

Schema.org is a vocabulary which can be used with various syntaxes (like JSON-LD, Microdata, RDFa, Turtle, …), stand-alone or in various host languages (like HTML 4.01, XHTML 1.0/1.1, (X)HTML5, XML, SVG, …). So having other ways to specify that something is (or: is about; or: represents) a site-wide navigation, a table etc. is the exception rather than the rule.

But there can be reasons to use these types even in HTML5 documents, for example:

  • The HTML5 markup and the annotations from Microdata/RDFa are two "different worlds": a Microdata/RDFa parser is only interested in the annotations, and after successfully parsing a document, the underlying markup is of no relevance anymore (e.g., the information that something was specified in a table element is lost in the Microdata/RDFa layer).

  • By using types like WebPageElement, you can specify metadata that is not possible to specify in plain HTML5. For example, the author/license/etc. of a table.

  • You can use these types to specify data about something which does not exist on the current document, e.g., you could say on your personal website that you are the author of a table in Wikipedia.

That said, these are not typical use cases relevant for a broad range of authors. Unless you have a specific reason for using them, you might want to omit them. They are not useful for typical websites. Using them can even be problematic in some cases.

See also my Schema.org issue The purpose of WebPageElement and mainContentOfPage, where I suggested to deprecate WebPageElement and the mainContentOfPage property.

Community
  • 1
  • 1
unor
  • 92,415
  • 26
  • 211
  • 360
2

Just use <table>.

You seem to be reading the title of the pages and no further. The <table> tag doesn't have the dozens of special properties listed on that page like isFamilyFriendly or license or timeRequired.

Schema.org microdata is intended to build a standard set of additional, semantic metadata that can be used by automated systems - search engine spiders, parser robots, etc. - to better understand the nature and features of the content.

ceejayoz
  • 176,543
  • 40
  • 303
  • 368
  • 1
    Thank you for your answer but please don't presume to think I've only read "the title of the pages and no further." I've spent quite a significant time with microdata and Schema.org (and yes, its examples) and I understand its purpose. I just wasn't clear about certain web page elements that already are, or could be in the future, supported in HTML5. – chharvey Jan 09 '15 at 14:56
  • I'm sorry, but your question shows little indication that you'd read the linked docs. That there's an element with the same name in HTML5 (hell, `` was in HTML 3.2, 14 years before Schema.org) hardly means it has all the metadata attributes Schema.org adds to it.
    – ceejayoz Jan 09 '15 at 15:01
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. – Ben Jan 14 '15 at 19:05
  • @Ben Do feel free to elaborate on what part of the question I didn't answer. – ceejayoz Jan 14 '15 at 19:10