HTML-validate is an Offline HTML5 validator.
It validates either a full document or a smaller (incomplete) template, e.g. from an AngularJS or Vue.js component.
This is free and open source software.
Key Features
- Fragments and components:
- In addition to validating plain .html files HTML-validate can also validate sources inside .js components (or any other source) by extracting HTML fragments (transforming).
- Neither .html files or component fragments need to be a complete document (e.g. doctype is not required).
- Transformed sources can also be postprocessed to handle data-bindings from different frameworks, e.g. :id will still be understood the same way id would.
- Offline – Does not upload any data to a remote server, all testing is done locally. Many validators will behind the scene upload the markup to online services such as W3C. HTML-validate performs all validation locally, no markup leaves your machine, providing a faster and more secure response which can easily be integrated with tools and IDEs.
- Strict parsing:
- When rendering a document it is useful to try to correct malformed markup but a validator should be strict. No corrections, assumptions or guessing is done. If the markup is invalid the parser will tell you so.
- By ensuring the markup is strictly valid it reduces the amount of bugs where different browsers autocorrect the markup differently (this is especially true for mobile browsers).
Website: gitlab.com/html-validate/html-validate
Support:
Developer: David Sveningsson
License: MIT License
HTML-validate is written TypeScript. Learn TypeScript with our recommended free books and free tutorials.
Related Software
| HTML Linters | |
|---|---|
| HTMLHint | Static code analysis tool |
| v.Nu | Catch mistakes in HTML, CSS and SVG |
| markuplint | HTML linter for markup developers |
| LintHTML | HTML5 linter and validator |
| HTML-validate | Offline HTML5 validator |
| jinjalint | Prototype linter |
| HTML ESLint | ESLint plugin for linting HTML files |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

