Rocket Validator automatically scans your sites for accessibility issues using the W3C Validator,
hosted on our own servers and integrated into our web crawler.
In HTML5, there’s no need to specify the
version attribute - it is now obsolete. Here’s an example minimal HTML document to start with:
<!DOCTYPE html> <html lang="en"> <head> <title>Test</title> </head> <body> <p></p> </body> </html>
Related W3C validator issues
Instead of using the isolang attribute to define the language of the document, you can use lang with an ISO 639-1 two character code.
For example, for Portuguese:
Rocket Validator checks HTML on your sites using the latest version of W3C Validator Nu HTML Checker, which is intended for HTML5 documents.
The page scanned is using an obsolete doctype, instead of the expected <!DOCTYPE html>.
A stray start tag <html> has been found in the document. As this tag defines the start of the whole HTML document, it should appear only once.
The <font> element, used to define the font face, size and color in previous versions of HTML, is no longer valid in HTML5. Instead, you should rely on CSS styles.
For example, you can define a font size of 12px, bold text with inline styles like this:
<p style="font-size: 12px; font-weight: bold;">some text</p>
Learn more about CSS fonts:
The language attribute is now obsolete and should not be used.
Read more about: