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
https://forums.phpfreaks.com/topic/119780-validating-question/
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
https://forums.phpfreaks.com/topic/119780-validating-question/#findComment-617129
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
https://forums.phpfreaks.com/topic/119780-validating-question/#findComment-618808
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.