htmlw3c-validationdublin-core

Dublin Core HTML5 W3C Validation


I'm trying to use Dublin Core with HTML5, when I try to validate the code with W3C validator I got a error.

This is the code:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <link rel="schema.dcterms" href="http://purl.org/dc/terms/">
    <meta name="dc.language" content="en">
    <meta name="dc.title" content="web site title" /> 
    <title>Test</title>
</head>
<body>
</body>
</html>

Solution

  • The meta keyword dc.language is registered: valid.

    The link type schema.dcterms is registered, however, not in the "HTML5 link type extensions" section (so it doesn’t confirm to the requirements described in the HTML5 spec): so it’s, strictly speaking, invalid.

    The meta keyword dc.title is not registered: invalid.

    You might want to use dcterms.title instead. (By the way, the keyword dcterms.language is also registered.)