Mobile app version of vmapp.org
Login or Join
Cody1181609

: How can I validate HTML offline? When I'm developing a website locally sometimes I want to check if the html is valid but I haven't been able to find a good tool. I want it partial as a

@Cody1181609

Posted in: #Html #Tools #Validation #WebDevelopment

When I'm developing a website locally sometimes I want to check if the html is valid but I haven't been able to find a good tool. I want it partial as a sanity check when I'm troubleshooting layout issues.

Can you please suggest a tool that can validate HTML offline? I'm not looking for validation inside of an IDE but something that will load the page from the web server.

Thank you!

10.05% popularity Vote Up Vote Down


Login to follow query

More posts by @Cody1181609

5 Comments

Sorted by latest first Latest Oldest Best

 

@Cugini213

In Debian/Ubuntu you can do:

sudo apt-get install w3c-markup-validator


This will get you the web interface.

If you want to validate from the console, edit /usr/share/doc/w3c-markup-validator/examples/validate.pl and install libwebservice-validator-html-w3c-perl. Now you can run validate.pl with an URL to validate.

10% popularity Vote Up Vote Down


 

@Looi9037786

To save time I use a Firefox Extension called HTML Validator. It adds validation to your view source window, tells you errors and warnings in a bottom pane. Also puts an icon in the bottom of your window showing you a quick reference for yes/no on validation. If no, then you just view source and it shows you exactly what your errors are.

Also validates accessibility.

10% popularity Vote Up Vote Down


 

@Steve110

You can validate HTML and CSS locally (and do a lot of other useful things) with the Web Developer Toolbar add-on for Firefox. It's also available for Google Chrome.

10% popularity Vote Up Vote Down


 

@Rivera981

Have you checked out HTML Tidy?

10% popularity Vote Up Vote Down


 

@Hamaas447

You can download the source and/or packages direct from w3[1].

[1] validator.w3.org/source/

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme