View Full Version : cleaning HTML
gwendaal
09-26-2004, 09: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
thank you
gsnedders
09-26-2004, 12: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/
gwendaal
09-26-2004, 01:02 PM
did you try the windows version ??
I get only a dos window !
thank you for the link
Vladdy
09-26-2004, 01:42 PM
Nothing better than Notepad (or other text editor preferrably with syntax highlighting) combined with the knowledge of what proper HTML is.
gwendaal
09-26-2004, 01: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
quentin
03-15-2005, 08: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
Go to:
Bradsoft.com (http://bradsoft.com/topstyle/index.asp)
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. :)
Daf
quentin
03-16-2005, 05:44 AM
thank you Daf :-)
and do you know if a Tody Plugin exist too for dreamweaver ?
quentin
03-16-2005, 05: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= ...
by
<table style="width:730px;height:100%; ........">
or even better
<table class="class2">
and adding the style in the head of the document
such a tool will be usefull
Dodge
03-16-2005, 12:06 PM
I would like such a tool as well! ;)
quentin
03-16-2005, 12: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.
Daf
quentin
03-16-2005, 02: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 :-))
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.