Rocket Validator integrates the W3C Validator HTML checker into an automated web crawler.
HTML issues tagged as attributes.
Attributes in HTML elements need to be separated by space, in this example the first line is invalid and the second one is valid:
<a href="page.php"class="big">link</a> <a href="page.php" class="big">link</a>
< character has been found when an attribute was expected instead. Check the syntax of the affected tag, it’s probably malformed and a
< character inside has been interpreted as an attribute.
For example, this code might cause this issue:
<!-- Malformed img tag --> <img src="photo.jpg" alt="smiling cat" < /> <!-- Fixed img tag --> <img src="photo.jpg" alt="smiling cat" />
Attributes for HTML elements must be defined like
name="value". A common issue is missing the
=, or repeating the
" like in these examples:
<!-- Missing equal sign --> <p name "value"></p> <!-- Repeated quotes --> <p name="value""></p>
When was the last time you validated your whole site?
Keep your sites healthy checking for A11Y/HTML issues on an automated schedule.