HTML Checking for Large Sites
Rocket Validator integrates the W3C Validator HTML checker into an automated web crawler.
Bad value “X” for attribute “href” on element “a”: User or password contains an at symbol ("@") not percent-encoded.
The at symbol (
@) should be percent-encoded as
%40 in order to include it at an
Related W3C validator issues
An <a> element has been found with an invalid href attribute, containing more than one # adjacent character.
The # is used to separate the fragment part of an URI (typically used to indicate a section within a document). For example, this is a valid link to a URI containing a fragment:
The next example is invalid because it contains two adjacent # characters, so that the fragment part would be #pricing instead of pricing:
The href attribute of an <a> element contains an invalid character, that should be properly encoded as a URI percent-encoded character.
An illegal character has been found for the “href” attribute on the “link” element.
To fix this issue, find the “link” element in question and make sure that the “href” attribute contains a valid URL without any illegal characters.
Here’s some example HTML code of a link element:
<!DOCTYPE html> <html> <head> <title>My Webpage</title> <link rel="stylesheet" href="styles/main.css"> </head> <body> <h1>Welcome to my webpage!</h1> <p>Here is some content...</p> </body> </html>
In the above example, the link element has a valid href attribute value of styles/main.css. Make sure that your href attribute values don’t contain any illegal characters.
<a> tags can be used to link to an email address using the mailto protocol in the href attribute. Ensure that there is no space in the email address.
<a href="mailto: firstname.lastname@example.org">This is wrong as it contains an space</a> <a href="mailto:email@example.com">This is OK</a>
When was the last time you validated your whole site?
Keep your sites healthy checking for A11Y/HTML issues on an automated schedule.
The value contact is not a valid option for the autocomplete attribute on an <input> element.
All HTML elements may have the hidden boolean attribute set. When specified on an element, it indicates that the element is not yet, or is no longer, relevant, so browsers won’t render it.
Boolean attributes don’t accept values, its presence represents the true value and its absence represents the false value.
<!-- This is invalid because the hidden attribute should not have a value set --> <div hidden="false"></div> <!-- The correct way to hide a div is like this --> <div hidden>This will be hidden</div> <!-- And to show the element, we just don't hide it --> <div>This won't be hidden</div>
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.
The href attribute on the link element must not be empty.
For rel="preload" and as="image" only, the imagesizes attribute is a sizes attribute that indicates to preload the appropriate resource used by an img element with corresponding values for its srcset and sizes attributes.
For rel="preload" and as="image" only, the imagesrcset attribute is a sourceset attribute that indicates to preload the appropriate resource used by an img element with corresponding values for its srcset and sizes attributes.
The name attribute is required for all input elements.
50,000 Accessibility and HTML checks per month. Fully automated.
Let our automated scanner check your large sites using Axe Core and W3C Validator.