How to fix: Bad value archives for attribute rel on element link: not an absolute iri. the string archives is not a registered keyword or absolute url.

Most Likely Cause and Fix

Your HTML5 document contains an invalid link relation in the context of <link rel="archives" … />. Attribute rel is not allowed to take the value archives.

Read up on link relations and the HTML5 link type extensions and the currently accepted HTML5 link types. and set a valid value.

What This Error Means

Some element attributes can take pretty much any value, others can take only values of a certain type and others still can only take a value from a pre-defined set.

This error relates to the following usage in your markup:

<link rel="archives">

The error is stating that, in this context, the attribute rel on element link is not allowed to take the value archives

The validator is giving the reason: not an absolute iri. the string archives is not a registered keyword or absolute url.

How To Fix It

For link and anchor elements

Set a valid value for the attribute rel used on a link in your HTML5 markup in the context:

<link rel="archives" … />

Read up on link relations and the HTML5 link type extensions and the currently accepted HTML5 link types. and set a valid value.

Discuss, Comment and Improve

Did this help you? Can this page be improved? Let us know!

comments powered by Disqus