Seek utility that formats html code [closed]
Question
I'm inheriting a mess of a website where the structure of is impossible to follow mostly because of lack of indenting. Is there a utility that can massage existing code to proper indents?
Solution
HTML Tidy is pretty much the standard, and it's often already integrated into text editors and IDEs.
OTHER TIPS
HTML Tidy does a great job at reformatting. It has options for tuning how it processes the files.
Aptana has a source code formatter, it works for HTML, Javascript, PHP, CSS, pretty much everything a web-geek needs ...
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow