htacg / tidy-html5

The granddaddy of HTML tools, with support for modern standards
http://www.html-tidy.org
2.72k stars 419 forks source link

Need help on tidy command #1089

Open Anilkummari opened 1 year ago

Anilkummari commented 1 year ago

Hi, I want to know the backend "tidy command" when i click on tidy on https://htmltidy.net/ website. I'm getting the desired output on the GUI page, but when i try to use "tidy input.html > output.html" on the cmd i see a different version of html. Tried digging tidy --help ,none of the options worked out Thanks in advance.

grstatdoc-gr commented 1 year ago

I am wanting to clean up HTML 4.0 code into HTML5... (example confstat.html) I found and downloaded tidy-5.8.0, but when I run it, I get basically a blank screen: image So, I'm not sure if I'm to open a command prompt, navigate to the tidy 5.8.0 to run it, or what.