SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2007
    Location
    Egypt-Luxor city
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Validation problem

    this what appear in the site

    Validation Output: 4 Errors

    # XML Parsing Error

    * Line 60, column 7: XML Parsing Error: Opening and ending tag mismatch: div line 10 and body

    </body>

    * Line 61, column 7: XML Parsing Error: Opening and ending tag mismatch: body line 9 and html

    </html>

    * Line 61, column 7: XML Parsing Error: Premature end of data in tag html line 2

    </html>

    # Error end tag for X omitted, but OMITTAG NO was specified


    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    * Line 60, column 6: end tag for "div" omitted, but OMITTAG NO was specified

    </body>
    plz help to complete validate my site

  2. #2
    SitePoint Zealot Acquiesce's Avatar
    Join Date
    Feb 2007
    Location
    Reading, England
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have just revalidated it and got one error:


    Error Line 60, Column 6: end tag for "div" omitted, but OMITTAG NO was specified.

    </body>

    You may have neglected to close an element, or perhaps you meant to self-close" an element, that is, ending it with "/>" instead of ">"

    Info Line 10, Column 0: start tag was here.

    <div id="container">
    So looks like all you;d need to do is close the container div (just before the closing body tag) and try again.

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2007
    Location
    Egypt-Luxor city
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cool it i have just one error but for this too I'm already closed my <div id="container"> before the body tag

    so I"m confuse...!!!

  4. #4
    SitePoint Wizard bronze trophy Tailslide's Avatar
    Join Date
    Feb 2006
    Location
    Bedford, UK
    Posts
    1,687
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You've missed a closing tag in there somewhere...

    I find it easier to add

    Code:
    <!-- end whatever div -->
    to closing div tags just so I can more easily check that I've remembered to close them all. If you go through your code adding a comment after each closing div tag saying which div it is then you should be able to find the problem.
    Little Blue Plane Web Design
    Blood, Sweat & Rust - A Land Rover restoration project

  5. #5
    SitePoint Zealot
    Join Date
    Aug 2007
    Location
    Egypt-Luxor city
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You've missed a closing tag in there somewhere...

    I find it easier to add

    Code:

    <!-- end whatever div -->

    to closing div tags just so I can more easily check that I've remembered to close them all. If you go through your code adding a comment after each closing div tag saying which div it is then you should be able to find the problem.
    done really i have missing closing <div>

    .with apply ur tips hope i always use it

  6. #6
    SitePoint Enthusiast
    Join Date
    Feb 2008
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you are using "#" be sure that you only use it once on a page.

    use "." for multiple div declarations.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •