Jump to content

validating question


mwjansen

Recommended Posts

after reading through here, i finally put my site through http://validator.w3.org/.

however, i don't understand all of the errors it listed. here's one in particular:

 

Line 67, Column 5: end tag for "DIV" omitted, but OMITTAG NO was specified.

</div>

 

and another:

Line 78, Column 179: end tag for "font" omitted, but OMITTAG NO was specified.

 

what exactly does that mean?

Link to comment
Share on other sites

Got a link to the page? I'll look at it for you.

 

There is definitely a missing tag, I've never seen or even heard of the validator making a mistake. It may be that you have a weird character being used that's screwing it up, or it may be that the closing tag you think you have is actually closing a different tag somewhere.

 

If those errors are not the first errors in the list, fix the ones that come before. Often/usually, errors further down the list will disappear, as they aren't actually errors, but just appear so to the validator, due to the previous errors.

Link to comment
Share on other sites

Looking at your page, it's definitely the result of not correcting earlier errors first. They compound - you have one error earlier in the page that screws up the validator, so then it finds something that actually is correct, but because of the earlier error, looks like an error to the validator. It's better just to fix them in order.

 

One problem you have though is that you are using capital letters in some of your div tags. XHTML only accepts small letters. As a result, you have  <DIV> tag, and you have a </div> tag, but those two tags don't match as far as the validator is concerned.

Link to comment
Share on other sites

You should definitely switch everything to lowercase. But again, you should always fix the first error, then re-validate. If you start fixing errors lower down the list, you may actually be adding errors to places where they don't exist, rather than fixing errors that do.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.