is there an easy way to convert HTML 4.01 to XHTML 1.0

Discussion in 'PHP' started by baris22, May 8, 2010.

  1. #1
    hello,

    i am leaching from a website which is set to HTML 4.01. I want to save as XHTML 1.0. is there an easy way to do this?

    thanks all.
     
    baris22, May 8, 2010 IP
  2. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #2
    I've seen a few classes (based on DOM and/or regex) which claim to turn HTML to XHTML, but nothing fully functional. I'd suggest you do it yourself manually, won't be too much work as theirs not much differences. (such as replace <br> to <br />, change the doctype etc.)
     
    danx10, May 8, 2010 IP
  3. live.co.uk

    live.co.uk Banned

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    try to use the php designer 7
     
    live.co.uk, May 8, 2010 IP
  4. baris22

    baris22 Active Member

    Messages:
    543
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    how will using php designer 7 help me on this subject?
     
    baris22, May 8, 2010 IP
  5. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #5
    danx10, May 8, 2010 IP
  6. live.co.uk

    live.co.uk Banned

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    there is an freature that enable you to correct html error and update
     
    live.co.uk, May 8, 2010 IP