|
| |
|
|
Starhugger
Posts: 538 Joined: 4/12/2005 Status: offline
|
OMITTAG and Self-closing tags - 5/22/2005 22:15:37
I'm trying to do the W3C validation thang but have run into a stumbling block already. It has given me a gazillion errors of: ...end tag for "meta" omitted, but OMITTAG NO was specified... ...You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">". The example is for "meta" but it seems to be for a wide variety of tags. It claims they need an end tag, but I've never heard of them requiring an end tag. (e.g., meta). Is there a way to do an OMITTAG YES so that it doesn't freak out over this? I can't find any references to how or where to put this declaration. FP03 must be putting the NO declaration in on its own because it's nowhere in the code that I see in Code view. Can I override that somehow? I'd rather not go through all 116 HTML pages and check to be sure all my tags are self-closing (which I'd never heard of before this either). I'd really appreciate some guidance about this. Thanks! Starhugger
|
|
|
|
Starhugger
Posts: 538 Joined: 4/12/2005 Status: offline
|
RE: OMITTAG and Self-closing tags - 5/23/2005 1:17:09
quote:
ORIGINAL: Kitka A simple way to help with that, is in FrontPage go to HTML view, right click and choose "Apply XML Formatting Rules". That should take care of most of that sort of problem. Thanks Kitka! I did that, which was a lot faster than I expected it would be (yay), but it doesn't seem to be working properly. Doing that did put in the "/>" but for some reason W3C Validator keeps saying they're not there, even in the lines where I know they are! I went through the whole site and did that to all the hml files and uploaded it all again. No change in the errors. I even tried getting it to access one file directly from my hard drive -- it had even more errors. I give up! And then, it is also telling me I should be using a different DOCTYPE but I can't make head nor tails of what it's suggesting as the correct one: The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">" has been suppressed and the DOCTYPE for "XHTML 1.0 Transitional" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE. What is the difference?? I don't get it. So, I think I'm about to give up on trying to validate it like a good girl. If anyone has any ideas to correct this that won't take days to implement, I'd love to hear it. In the meantime, I think I'm just going to launch it and say the heck with it. I've done what I could, it'll have to be enough for now unless I discover specific problems that I can fix. Thanks a lot for your help! :) Starhugger
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: OMITTAG and Self-closing tags - 5/24/2005 7:41:52
quote:
Change what you can to get it right - if it's a matter of end tags etc then do it. If it's something you cannot change then live with it. Use the validator as a guide to right and wrong rather than something you live or die by I totally agree.
_____________________________
Dan
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|