better html code?

Discussion in 'HTML & Website Design' started by mike82, Mar 28, 2008.

  1. #1
    does anyone know of a program to clean microsoft word generated html code? when you click save as web page is produces some code that is pretty messy. i would also like to know if there is a way to convert it to xhtml

    thank you
     
    mike82, Mar 28, 2008 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    Converting html markup to xhtml won't make it any cleaner. There is no way a program would be able to determine what you wanted and what you didn't. Just rewrite it.
     
    drhowarddrfine, Mar 28, 2008 IP
  3. mds

    mds Active Member

    Messages:
    256
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Its always better to code manually, thats the best way.
     
    mds, Mar 28, 2008 IP
  4. mike82

    mike82 Well-Known Member

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    106
    #4
    but i know there are programs out there like this... if you google "clean word html" you will see what I mean. i'm looking for the best, most practical program to use. i'm also looking for something that can convert the cleaned code to xhtml. any help is appreciated.
     
    mike82, Mar 28, 2008 IP
  5. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #5
    You are probably hearing about tidyHTML. Tidy can clean up a page by formatting it but won't fix anything like sloppy markup.
     
    drhowarddrfine, Mar 28, 2008 IP