Lessons

HTML Validation

Errors in the HTML code can lead to a breakdown of the appearance and interactive functions. It is also more difficult for programmers to work with poor-quality HTML code. Developing and debugging new features will take more time in the future.

We only check for really relevant errors. Academic compliance with HTML specifications is of little use, since browsers are able to correct various minor errors on their own.

We check:

  • Whether the <html> tag has the lang attribute and whether it is correct. Helps to determine the language of the site.
  • Correctness of the ID attribute of the elements: format, absence of duplicates, presence of a value. This attribute plays a key role when implementing interactive functions using JavaScript.
  • Whether the <head> tag has content.
  • Closing tags for elements.
  • Correctness of the `autocomplete’ attribute.
  • Correctness of the ‘asattribute in the` tag.
  • Correctness of the ‘hreflang` attribute.
  • Whether the tag is framed <code> with the `

<

pre>tag. - Using the meta tagshttp-equiv=refresh,http-equiv=content-typeandcharsetin addition to or instead of the corresponding HTTP headers. - Specifying the 'width and height attributes for the <img>' tags. Instead, you need to use CSS, since it allows you to set the image size for any screen width. The 'width and height attributes set the same image size for all screens. - Correctness of meta tags of favicons <link rel=icon>, <link rel=apple-touch-icon>, <link rel=apple-touch-icon-precomposed>, <meta name=msapplication-config>, <link rel=manifest>. - Correctness of the meta tags of DNS preloading and pre-connection <link rel=dns-prefetch>, <link rel=reconnect>. - Correctness of <doctype>. - Correctness of the <meta name=viewport> meta tag.

Check your website
It's free and will take from 11 to 45 seconds

We use cookies. By continuing to use the site, you agree to the processing of personal data in accordance with privacy policy. I agree