HTML Checking for Large Sites
Rocket Validator automatically checks your pages on the W3C Validator.
Saw “<” when expecting an attribute name. Probable cause: Missing “>” immediately before.
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" />
Related W3C validator issues
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>
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>
Still checking your large sites one page at a time?
Save time using our automated web checker. Let our crawler check your web pages on the W3C Validator.