We use cookies to make Serpstat better. By clicking "Accept cookies", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Learn more

Report a bug

How-to 6 min read

How to check if the typesetting is valid

Typesetting is a process of creating the website structure on the final phase of the development of its design. To be sure in the layout quality, it has to be checked if it is valid. Bugs in the html-code may lead to the website being incorrectly displayed on different devices and browsers, download speed decrease, and different unpleasant consequences.

What is the validity of typesetting

Site's page consists of text and graphics. The task of coding is to embody all elements of the page to a single html structure and to provide page's correct display for all users.

Structured and clean code without mistakes – a sign of high-grade website quality, needed a base for its future development.

Coding validity - is site's html code correspondence to the laid out criteria. Validity standards were developed by The World Wide Web Consortium (W3C). |The organization has an online service of an automatic site's code examination.

Special programs – code validators, can also test the typesetting and uncover its bugs.

Signs of a high-quality typesetting

Let's look at the main indicators of a high-quality layout and how code's validness affects them.

Cross-browser compatibility

The same website can look differently on several computers or devices. It depends on the browser, which reads out the page's code. Cross-browser compatibility tells, which popular browsers are compatible with the website and is a key indicator of layout's quality.

Often codes check on validity helps uncover bugs, which affect site appearance. Removal of certain bugs leads to website text items and graphical elements correct display in browsers of different versions and modifications.
Cross-browser compatibility in typesetting

High loading speed

Correct appearance of all site's elements in accordance with the blueprint - does not guarantee, that website validation is fully complete. Bugs in the page code, usually decrease their loading rate, even if they are unnoticeable. This influences the first impression of the visitors about the website and increases the denial indicator.

Behavioural factors, in line, are a signal for search engines. Also, loading rate of the landing page talks for its quality and affects the auctions result in the Display Network.
Google PageSpeed Insights

Proper micro-marking scanning

Typesetting check on validity is not an obligatory stipulation for site index linking by the robot and does not have a direct association with the web resource positions in the search results. However, errors in the code might negatively redound upon the micro-marking scanning.

Incorrect work of elements on the page, may block a part of the code, including important for SEO information: meta-tags, links, structured data. Correction of micro-marking mistakes will help the robot to automatically extract site's meta-data.

Website's performance without cookies, JavaScript, CSS

During the work on validating the HTML-code you should check up on important functionality availability of the website during the turned off cookies, JavaScript, CSS. Site or browser malfunctions should not limit the visitor's ways: registration, order finalization, form fill-out, and more.

Services for validation checking

An official validator W3C for typesetting checking is on the website validator.w3.org. It is a free program, offering a few ways of checking the HTML-code online: using the link to the website, piece of code, or downloaded file from a computer. Pay attention, W3C validator does not check the whole site, but only a selected page.

During the testing website's validator, also takes into account the document type, because HTML versions have differences in their syntax. There are additional options under the search bar, where you can set the charset, document type, and results' display settings.
W3C validator online
After entering the site address into the proper string and codes check on validity ends, the checker will show all bugs. There is a description for every problem; it's a line in the code and type is stated.

To typical problems, you can address the missing or incorrect use of indicators, unclosed tags, not specified document type, not set UTF-8, and more.

All in all, the existence of mistakes is typical for the most websites on their beginning step, and the use of validator will help to uncover them and remove. After the typesetting correction ends, to be completely sure in the result, it is needed to check the validity of the site again.
How to check html code for errors online
Except the main online-app W3C, for typesetting analyzing, other services may be used, such as WDG HTML Validator, XML Validator, XML Schema Validator, and other free validators.


Typesetting testing and HTML-code examination are needed steps in the development and promotion of the site. Using the validator, main typesetting mistakes can be uncovered and removed.

High-quality, structured code often influences the correct display of the website in all browsers, its loading speed, and chances for higher positions in the search results.

This article is a part of Serpstat's Checklist tool
Checklist at Serpstat" title = "How to check if the typesetting is valid 16261788325618" />
Checklist is a ready-to-do list that helps to keep reporting of the work progress on a specific project. The tool contains templates with an extensive list of project development parameters where you can also add your own items and plans.
Try Checklist now

Learn how to get the most out of Serpstat

Want to get a personal demo, trial period or bunch of successful use cases?

Send a request and our expert will contact you ;)

Rate the article on a five-point scale

The article has already been rated by 0 people on average out of 5
Found an error? Select it and press Ctrl + Enter to tell us