How to fix: Bad value twipsy for attribute rel on element a: the string twipsy 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 <a rel="twipsy" … />. Attribute rel is not allowed to take the value twipsy.

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:

<a rel="twipsy">

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

The validator is giving the reason: the string twipsy 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:

<a rel="twipsy" … />

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