HTML with Microdata

Based on an HTML document, this encoding processes nodes with Microdata-related attributes, such as itemscope, itemtype, and itemprop.

Example

<html>
  <body>
    <div itemscope itemtype="https://schema.org/WebSite">
      <a href="https://www.namedgraph.com/" itemprop="url">
        <span itemprop="name">Named Graph</span>
      </a>
    </div>
  </body>
</html>

Technical Notes

  • Reference: HTML, Microdata
  • Media Type: application/xhtml+xml (or text/html, text/xhtml)
  • File Name: *.html (or *.htm)