Any Software / Tool /Script to convert webpages from HTML4 to xHTML1 ?

Discussion in 'HTML & Website Design' started by kslokesh, Oct 6, 2009.

  1. #1
    Is there any tool/script/software to convert/migrate the webpages from HTML4 to xHTML1 automatically?

    We need to add close tag, properly nest the tags, use proper case in the tags etc etc..

    Is there any software or tool which can do that and provide the changes needed to be made for our review before changing?

    Please provide some info.
     
    kslokesh, Oct 6, 2009 IP
  2. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, the Online TIDY Utility

    .......... but don't do it - refer to Problems serving XHTML 1.0 Web Pages.

    You are best served at present using HTML 4.01 with a Strict Doctype, well formed.

    James
     
    jamesicus, Oct 6, 2009 IP
  3. kslokesh

    kslokesh Well-Known Member

    Messages:
    153
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    Oh.. ok.. So I must use the TIDY.. Thank You..

    I use Loose/Transitional version of HTML4/xHTML1 ..

    But I dont think it would create problems if the site is used only to provide information rather than an e-commerce site with interactive scripts and other content..
     
    kslokesh, Oct 6, 2009 IP
  4. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Selecting the correct Doctype is always important: Activating Browser Modes with Doctype - Choosing a Doctype

    James
     
    jamesicus, Oct 6, 2009 IP
  5. kslokesh

    kslokesh Well-Known Member

    Messages:
    153
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #5
    Ok.. It may affect the layouts in the page.. I use text/html MIME in the files.
     
    kslokesh, Oct 8, 2009 IP