WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Validation Problem (8 posts)

  1. adam513
    Member
    Posted 8 years ago #

    Hi there : )
    Nostalgic-garden.org is my personal blog and my site would not validate...

    http://validator.w3.org/check?uri=http%3A%2F%2Fnostalgic-garden.org

    I get bunch of errors in return, and I have no idea how to fix them...
    It seems many of them are repetitions. So if you could just tell me how to fix one of them... I think I may be able to validate my site.

    Thx!

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    This is the url to use:
    http://validator.w3.org/check?uri=http://nostalgic-garden.org/&charset=(detect+automatically)&doctype=Inline&ss=1
    It shows the source too.

    In various order:
    <br> is wrong, is correct

    Start of line 45 put a <li>, and end of that line </li>
    Same for 122, but the </li> must go before the </ul>

    images/thumb-Screenshot_050830.jpg' /> incorrect
    images/thumb-Screenshot_050830.jpg' alt="" /> correct
    of course the alt should be the alternative text that would appear should the image not.

    Most of the others seem to be list tags. They must follow this order
    <ul> <----- just one opening tag
    <li> <----- you can have lots of these
    </li> <----- but they must match these close tags
    </ul> <----- closes the list

    Do some of that and see how many errors you have remaining ?

  3. adam513
    Member
    Posted 8 years ago #

    Thx a bunch podz, now errors are down to only 5.
    All 5 of them being "<br>" tag errors. Well, if I don't use break tag, how can I change the line manually??
    Again, thx for great help : )

  4. Beel
    Member
    Posted 8 years ago #

    If you are not putting them in, you need to find out what is or where they are by searching your code and plugins.

  5. Beel
    Member
    Posted 8 years ago #

    <br /> I misread your post, just use this.

  6. Monika
    Member
    Posted 8 years ago #

    adam513
    you could use the br tag , but your br tags aren't closed

    brspace/
    < br / >
    without the space after or before the < > but with a space between br and the /

    ;-)
    Monika

    edit:oh Beel are faster ;)

  7. Beel
    Member
    Posted 8 years ago #

    Monika, the backticks (often above the tab on keyboards) makes it easier to post tags and not have the site process them, like <strong>strong</strong> vs. strong - takes some playing around with but easier in the long run.

  8. adam513
    Member
    Posted 8 years ago #

    My site validated!
    Thank you all : )

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.