HTML with RDFa
Based on an HTML document, this encoding processes nodes with RDFa-related attributes, such as property
and typeof
.
Example
<html>
<body>
<div vocab="https://schema.org/" typeof="WebSite">
<a href="https://www.namedgraph.com/" property="url">
<span property="name">Named Graph</span>
</a>
</div>
</body>
</html>
Technical Notes
- Reference: RDFa Core 1.1 Third Edition; HTML+RDFa 1.1 Second Edition; XHTML+RDFa 1.1 Third Edition
- Media Type:
application/xhtml+xml
(ortext/html
,text/xhtml
) - File Name:
*.html
(or*.htm
)