Tidy 50

From Htmlpedia
Jump to: navigation, search

Tidy: ... attribute ... lacks value

Cause:

This is an error show when an attribute contained in a tag does not contain a value and that a value was expected. Or this can also be due to syntax error in the HTML tag.

Example:

<a> attribute href lacks value

Bad<a href>My Link</a>
Good<a href="my_link.html">My Link</a>

Solution:

Check the definition of the attribute. Give a value to the tag or correct the wrong/unknown tag.

References: