What do you mean? A website which is going through the HTML code and fixing issues automatically? Or prettyfing the code?
born2run
10:58 am on May 20, 2019 (gmt 0)
Prettyfing the code
Dimitri
11:07 am on May 20, 2019 (gmt 0)
In Chrome's dev tool, when you go to the "Sources" tab. You get the raw HTML code of the page, at the bottom of the field where the code is showing, there is an icon { } , click it. Tada, you'll have your HTML code, CSS, and JS with line break, and indentations.
There might be something similar in Firefox too.
born2run
11:38 am on May 20, 2019 (gmt 0)
Ok great thanks! I was going to buy BBEdit but maybe I’ll hold
not2easy
12:26 pm on May 20, 2019 (gmt 0)
BBEdit offers a lot of top notch tools, but buying it only for checking and formatting your HTML is overkill. Sort of like buying a CNC mill to make a new belt hole.
Dimitri
1:57 pm on May 20, 2019 (gmt 0)
it's not my business, but, why do you need to produce pretty HTML code? As long as the "HTML grammar" is correct, browsers and bots won't mind. Also, pretty HTML code can waste some bytes here and there, even once compressed, resulting in "slightly" longer download time.
tangor
6:45 pm on May 20, 2019 (gmt 0)
I'm with ^^^ ... ugly code works just fine. :)
Dimitri
8:14 pm on May 20, 2019 (gmt 0)
Thanks.
Also, ugly code is harder to reverse-engineer :)
lucy24
9:26 pm on May 20, 2019 (gmt 0)
There used to be something called Tidy. Still exists, for all I know; I quickly learned not to even attempt running it, because even in "notify only" mode (I forget the terminology because it's been years) it would still step in and officiously make changes, not necessarily for the better.
tangor
10:11 pm on May 20, 2019 (gmt 0)
I remember Tidy! Used it once and ran away!
born2run
2:32 am on May 21, 2019 (gmt 0)
Yes tidy is a configuration nightmare. I just downloaded the BBEDIT evaluation copy and it worked fine for prettyfying. :-)
Dimitri
10:22 am on May 21, 2019 (gmt 0)
Like a lot of 90's webmasters, I began with FrontPage, tons of fancy extra HTML things added :)