View Full Version : cleaning HTML
09-26-2004, 10:06 AM
I have tried Tidy to clean HTML pages but I cannot use it .. impossible to understand how it works
do you know a good normal (not exotic) HTML code cleaner ?
I have many tags as
<img border=0 width=14> not quoted at all
I want to get a valid xhtml or at least a clean quoted code
09-26-2004, 01:06 PM
I don't understand how the Windows version works, but the Mac OS X one is so easy to use, however, you may find this online implementation useful: http://infohound.net/tidy/
09-26-2004, 02:02 PM
did you try the windows version ??
I get only a dos window !
thank you for the link
09-26-2004, 02:42 PM
Nothing better than Notepad (or other text editor preferrably with syntax highlighting) combined with the knowledge of what proper HTML is.
09-26-2004, 02:50 PM
too long with notepad !
I have not done the website .. I am trying Tidy on line it works
and editplus is much more better than notepad
03-15-2005, 09:28 PM
does anyone know if a normal version of tidy is avalaible for windows
i am turning in tidy's website without finding it
Download and install either the Demo Verison or the "Free" version (Lite) of Top Style 3.10.
It has a nice Tidy GUI and is fully configurable. You can run your files through Tidy by opening them in TS. Check the help file for instructions on using it.
It's a great CSS/xhtml/html editor in it's own right. :)
03-16-2005, 06:44 AM
thank you Daf :-)
and do you know if a Tody Plugin exist too for dreamweaver ?
03-16-2005, 06:56 AM
and I get all the time from designers html pages with an horrible code
do you know if Tidy can change this kind of tags
<table width="730" height="100%" border="0" cellpadding="0" cellspacing="0">
<font size= ...
<table style="width:730px;height:100%; ........">
or even better
and adding the style in the head of the document
such a tool will be usefull
03-16-2005, 01:06 PM
I would like such a tool as well! ;)
03-16-2005, 01:30 PM
but i am really surprised of Topstyle + tidy they nearlly do it !! a big part of html is clean
i think it will come my first tool for html and css
Top Style is a very nice tool for hand coders. :)
Answers to your previous questions ... I don't beleive that Tidy has a DW plugin version - but I'm not sure.
No - Tidy will not reformat the styles or export them to an external style sheet.
03-16-2005, 03:04 PM
but with topstyle from an html full of mixed code you get a good part in style head and that's allready great
those designers are producing such an horrible code :-))
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.