HTML Formatting
Asked Answered
U

3

5

I have to make a few changes to some unformatted HTML (no line breaks, nothing) and was wondering if there are any web-based or open source tools that will automatically format it so it's easier to read.

Thanks!

Uriniferous answered 7/8, 2009 at 13:15 Comment(0)
M
14

Take a look at tidy - overview from the documentation:

When editing HTML it's easy to make mistakes. Wouldn't it be nice if there was a simple way to fix these mistakes automatically and tidy up sloppy editing into nicely layed out markup? Well now there is! Dave Raggett's HTML TIDY is a free utility for doing just that. It also works great on the atrociously hard to read markup generated by specialized HTML editors and conversion tools, and can help you identify where you need to pay further attention on making your pages more accessible to people with disabilities.

Malcolm answered 7/8, 2009 at 13:17 Comment(1)
Tidy is great. This Firefox plugin based on Tidy is also nice to have: users.skynet.be/mgueury/mozillaNyaya
D
6

Check out Notepad++

In the menu, click TEXTFX -> HTML Tidy.

Desalinate answered 7/8, 2009 at 13:19 Comment(2)
It uses Tidy HTML as a backend (tidy.sourceforge.net/)Antarctic
Your right, it does. Great way to use Tidy HTML, tied right into the best lightweight editor out there.Desalinate
F
0

jedit also contains some plugins to do the job. (I think it is also using tidy)

Frequently answered 7/8, 2009 at 14:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.