Viewing 6 replies - 1 through 6 (of 6 total)
  • It looks like you’ve got 16 opening DIV tags, but only 15 closing, so I’d probably start with that. Fix the other errors too, sometimes they have a cascade effect and just by fixing one other problem, you’ll see a whole bunch of others drop off the error list too.

    Beside alism’s reply –

    here are the others.

    You need to make sure you define your images with an alt=””
    even if you do not have a name for them.

    You may want to put in your menu ID ul, instead a class.

    You forgot to close some hyperlinked images

    You have open elements like your paragraph tags without closing tags. Do no put linebreak tags within your paragraph tags ( br ).

    Thread Starter rjarmitage

    (@rjarmitage)

    Cheers. I’ve closed that one I think and it’s cut down the errors. Now on 16. Still got some XML parsing errors too.

    Anymore help would be much appreciated.

    Pretty much if you view the source on the W3 validator, it actually hints to what you should be looking at and you can look at the source to find out what W3 is trying to find.

    I am sure with my own hints, there should be less than that.

    The XML parsing errors could be caused because your html tag has an attribute
    lang="en-US"
    and you then have
    "text/html; charset=UTF-8"
    for your content-type meta tag. The validator complains “missing or conflicting information”.

    As blondishnet pointed out, you have a missing </a> for your header image link.

    The “what would you like to compare” text is a heading (h2) inside a link (a) inside a paragraph (p), completely wrong.

    Mike

    Thread Starter rjarmitage

    (@rjarmitage)

    Thanks guys.

    With your help I sorted out my homepage! No errors.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘W3 Validator Error codes’ is closed to new replies.