E.Z.
E.Z.

Reputation: 6661

Offline html5 validator

I would like to pass a few pages of a web application we are building through an HTML5 validator. I found several "online" validation tools available, but for privacy reasons I would rather not upload our pages for checking.

Do you know any offline HTML5 validation tool / library?

Upvotes: 15

Views: 6084

Answers (2)

sideshowbarker
sideshowbarker

Reputation: 88046

You can download a vnu.jar release for checking HTML5 documents offline. See https://github.com/validator/validator/releases/latest for the actual download file, and see https://validator.github.io/validator/ for more information

Upvotes: 9

Korvo
Korvo

Reputation: 9724

So far W3C has only published the DTD up to HTML 4.01.

Download libs: http://validator.w3.org/sgml-lib.tar.gz

In September 2012, the W3C proposed a plan (wikipedia.org) to release a stable HTML5 Recommendation by the end of 2014 and an HTML 5.1 specification Recommendation by the end of 2016.

Therefore I believe that the libs for HTML5 are coming this year.

Meanwhile you can use an unofficial DTD file, available here: http://www.cs.tut.fi/~jkorpela/html5-dtd.html

Upvotes: 1

Related Questions