Using an HTML Validator to Find Errors

HTML Code
How to Write in HTML. Hamza TArkkol / Getty Images

An HTML validator program or service checks HTML markup for syntax errors such as open tags, missing quotation marks, and extra spaces. These quality assurance programs prevent errors and save vast amounts of operator time, particularly when different sets of validation rules, such as those for CSS and XML, are involved. Check out these HTML validators to find out which one best suits your needs.​

01
of 06

W3C Validation Service

The W3C Validator service is a free online validator that checks the markup validity of HTML, XHTML, SMIL, and MathML. You can choose to enter a URL for the service to validate a published document, or you can upload a file or copy and paste sections of HTML at the W3C website. The service doesn't include a lot of extras like spell checkers or link checkers, but it provides links where you can run those tools on your site.

02
of 06

Dr. Watson

Dr. Watson (no relation to Microsoft's Watson) is an online HTML checker that accepts only URLs for published websites. It checks your HTML, link validity, download speed, link popularity and search engine compatibility.

When you enter the URL for your website, you can also request that Dr. Watson verify the image links and regular links, and spell check the non-HTML text.

03
of 06

HTML Validator Firefox Add-On

If you use Firefox on Windows or MacOS, you can validate HTML on the fly as you visit Web pages. It doesn't do much beyond validating HTML, but it's right in your browser, so you can do it as you visit the page. Just open the source of the page to view the details.

04
of 06

WDG HTML Validator

The WDG HTML Validator is an easy-to-use online HTML validator that does nothing but checks your HTML. You can enter a URL or select batch mode to validate several web pages at once. It's a quick tool and can give you information about the pages you have live. You can also use the service to validate uploaded files or HTML you enter directly into the website.

 

05
of 06

CSE HTML Validator

CSE HTML Validator software for Windows comes in three paid versions: Standard, Pro, and Enterprise. An older version is available as a free download, but it cannot be used for commercial work and it isn't the latest version. The company offers a 30-day money back trial period.

The Standard version validates HTML, XHTML and CSS. It integrates with other software, checks links, and spelling, checks JavaScript, PHP syntax, and many other features. The Pro version has these same features and a batch wizard and customizing capabilities, while Enterprise has all the Pro capabilities and features along with priority support, extra TNPL functionality and enhancements to the batch wizard.

06
of 06

Free Formatter HTML Validator

 The Free Formatter HTML Validator online service checks your files for compliance with the W3C standards and assesses the code for adherence to best practices. It flags missing tags, invalid attributes, and stray characters. Just copy and paste your code into the section of the website for this purpose or upload an HTML file.