W3C Standard - Fix needed...

Discussion in 'HTML & Website Design' started by jilaba99, Aug 3, 2007.

  1. #1
    Hi,

    I am on the way of validating my page for W3C. I am getting certain errors. Can anyone help in fixing it.

    1. I've a center tag on top of the page which i am closing at the end. But it says its an error. The error is
    "XML Parsing Error: Opening and ending tag mismatch: body line 27 and center."

    2. The same way its coming for </body> and </html>
     
    jilaba99, Aug 3, 2007 IP
  2. Magnus

    Magnus Peon

    Messages:
    164
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Would be easier to help if you could post your code.
     
    Magnus, Aug 3, 2007 IP
  3. bouncer69

    bouncer69 Peon

    Messages:
    978
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Did you put <center> tag before the <html> tag? Center tag must be within body tag <body><center>....</center></body>. Also if you using table you don't need center tag. Just use <table align=center>
     
    bouncer69, Aug 3, 2007 IP
  4. jilaba99

    jilaba99 Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I have placed the <center> tag inside the <body> tag only and have not used any tables.
     
    jilaba99, Aug 3, 2007 IP
  5. bpb2221

    bpb2221 Peon

    Messages:
    83
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Can you show us the site?
     
    bpb2221, Aug 3, 2007 IP