How do i convert HTML and CSS to XML?

Discussion in 'XML & RSS' started by profitline, Aug 26, 2007.

  1. #1
    I have HTML pages and CSS style, but how can the 2 merger together and form XML, sorry if i got it wrong, i am not good with these. Hopefully i can see helpful answers.:D
     
    profitline, Aug 26, 2007 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Are you trying to get XHTML compliant code ?
    If yes, put the proper DOCTYPE on your HTML, and use the W3C Markup Validation Service to locate your errors.

    NOTE: I think you can use this DOCTYPE:
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    Code (markup):
     
    ajsa52, Aug 27, 2007 IP