WordPress.org

Ready to get started?Download WordPress

Forums

Not XHTML Valid?? (4 posts)

  1. athomemom
    Member
    Posted 9 years ago #

    Tried to post this over in Templates & Design, but it didn't take:
    Another question from the noob. My page is coming up as not XHTML valid: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.athomemom.net%2Fwp%2F My page addy is: http://www.athomemom.net/wp/index.php
    Is this a HUGE problem? I've viewed it through IE6 and Netscape and it looks fine to me. Since it looks OK, I don't have any idea where to begin to fix this.
    Any thoughts or advice would be greatly appreciated!!!

  2. TechGnome
    Moderator
    Posted 9 years ago #

    Well, the validator tells you what's wrong, just start at the top and work your way down.
    But in short here's what's wrong:
    1) The meta tags are not closed. try ending them with a /> at the end.
    2) tags and their attributes should be lower cased.
    This means <TABLE> should really be <table>
    3) Remove any kind of layout controlling attributes. Align, width, height and the like. Use CSS to control all of that kind of stuff.
    4) When you do have attributes, use quotes around the value. height="100px" for example.
    Clean up some of that stuff and revalidate between each change. Sometimes one bad thing at the top will cascade into more errors at the bottom.
    TG

  3. Not being valid is not a major problem. Most modern browsers correct for most "human errors" which can prevent validation, similar to talking in proper English vs slang. Validation simply tells you whether or not your site complies with the definition of XHTML. Therefore, for the sake of sanity, being valid is a good thing.

  4. Anonymous
    Unregistered
    Posted 9 years ago #

    if all your rss feeds are borked someone will tell you about it. if your site looks bad in firefox the crowd here will waste no time in informing you. so don't sweat it. if your site looks ok and functions ok, a missing backslash is not the end of civilization as we know it.
    however, there are some people who think validation is the only important element of site design and hit the validation button on every blog they visit. they are a tiny group with too much time on their hands which should not be pandered to.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.