Support » Fixing WordPress » Validating XHTML help

  • Hi I am down to my last 8 errors and don’t know how to fix them. Can someone help me by explaining what I should do for my blog which can be found at



Viewing 15 replies - 1 through 15 (of 27 total)
  • You have a </head> in your footer. Change that to </body>.

    In your header, just above the line <div id="page"> add the following:

    Start with this and see where it gets you.

    Thank you. I tried that and it still similar errors.

    You went down from 9 to 4 errors’ so it’s a start.

    Next: Add a <title>Some Text Here</title> section within your <head>...</head> section.

    And add a </ul> above this line in your sidebar
    <div id="text-3" class="widget widget_text"> <h2 class="widgettitle">Page Rank</h2>

    1) you have no opening body tag. Oh wait, you do – but it’s halfway down the page – right above the “sidebar2” div. What’s that all about? You shouldn’t start *any* content on a page without an opening body tag – inyour case, one that’s in the right place! How did it get down inside of your content?

    2) under div id=”sidebar” (at the bottom of the page) you’re missing some closing tags:

    <div id="sidebar">
    <li id="linkcat-1"><h2>Blogroll</h2>
    <li><a href="">One in the Evening</a></li>
    <li><a href="">Urban Semiotic</a></li>
    <li id="linkcat-2"><h2>Forums</h2>
    <li><a href="">Alternative to Sanity Forums</a></li>
    <li><a href="">The Frozen Far</a></li>
    <!-- you need closing tags here - you're missing a </ul> tag right in this spot -->

    Try starting with those two issues and see if it doesn’t clear some stuff up.

    I added the title line but I can’t find that line in my sidebar. I am using the widgets and so I think that affects it.

    okay I can’t seem to edit that part either

    This is my first blog and I am just using a standard theme and using the plugins found on the Codex.

    Looks like your down to 2 errors, getting close ;’)

    Hehe. getting very close I just can’t find the place to edit those last 2 errors. One is part of a widget and the other is part of the WordPress blog roll

    Doodlebee, I have no idea how it got down there and wouldn’t even begin to know where to look or how to fix it. hehe. I’m a total noob.

    Anyone familiar with the sidebar widgets know where I should go to correct those last 2 errors?

    Missing a li?

    Presentation:Sidebar Widgets

    You’ve got a text widget there (prolly the one with the amazon code). It looks like it might be missing an opening li. If it’s not obvious, cut and paste it here (between backticks).

    I have edited the actual text for the sidebar text widget and it tells me i can’t put an li there.

    here is the actual text

    <a href=""><img src="" alt="Google PageRank Checker Tool" width="80" height="15" border="0" /></a>

    Your issues are here, in this area:

    <div id="text-3" class="widget widget_text"> <h2 class="widgettitle">Page Rank</h2>

    You have a list there:

    <div class="textwidget">
    <a href="">...

    You’re opening your <li> without a <ul> or <ol> tag, which causes the invalidation. Anytime you have a <li>, you have to be sure you have the beginning list tags.

    Then it says for that <li> tag, you don’t have a closing </li> tag. If it’s open, it’s gotta be closed.

    doodlebee has a +3 css wand.

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Validating XHTML help’ is closed to new replies.