Uses vnu, the new W3C validator, by default in JSON mode, to validate URLs and mounted files.
2.2K
How to use:
# defaults to --format json
docker run --rm frvge/htmlvalidator https://www.mysite.com
# assuming there's a mysite.html in the local folder. Also sets the format
docker run -v $(pwd):/data --rm frvge/htmlvalidator --format text /data/mysite.html
More info and plugins: https://validator.github.io/validator/ and https://validator.w3.org/nu/about.html
Content type
Image
Digest
Size
112.6 MB
Last updated
over 9 years ago
docker pull frvge/htmlvalidator