| 
	
 | 
 Posted by Rik on 02/12/07 20:15 
On Mon, 12 Feb 2007 20:53:18 +0100, robert maas, see   
http://tinyurl.com/uh3t <rem642b@yahoo.com> wrote: 
 
> The URL for my Web page is: 
> <http://www.rawbw.com/~rem/HelloPlus/CookBook/CookTop.html> 
> The validation site is: 
> <http://validator.w3.org/> 
> When I ask it to validate my Web page, it gives me this error: 
>     1. Error Line 1353 column 14: end tag for "EM" omitted, but its 
>        declaration does not permit this. 
> <em>(reduce #'/ nums :end 9)</em><br /> 
>           + You forgot to close a tag, or 
>           + you used something inside this tag that was not allowed, and 
>             the validator is complaining that the tag should be closed 
>             before such content can be allowed. 
>        The next message, "start tag was here" points to the particular 
>        instance of the tag in question); the positional indicator points 
>        to where the validator expected you to close the tag. 
>        ✉ 
>     2. Info Line 1353 column 0: start tag was here. 
> <em>(reduce #'/ nums :end 9)</em><br /> 
>     3. Error Line 1353 column 32: end tag for element "EM" which is not 
>        open. 
> <em>(reduce #'/ nums :end 9)</em><br /> 
>        The Validator found an end tag for the above element, but that 
>        element is not currently open. This is often caused by a leftover 
>        end tag from an element that was removed during editing, or by an 
>        implicitly closed element (if you have an error related to an 
>        element being used where it is not allowed, this is almost 
>        certainly the case). In the latter case this error will disappear 
>        as soon as you fix the original problem. 
> 
> The / it's complaining about is in the middle of ordinary text, not 
> within any tag, so why is it even looking there to find anything 
> wrong? There's an opening EM tag at the start of the line, and a 
> matching closing tag near the end, with no tags of any kind 
> between. I see nothing wrong. What am I overlooking? 
 
<p /> does not mean what you think it means.... A simple seach/replace   
with <p> makes it valid. 
 
Someone just recently pointed that out on a newsgroup, that in SGML   
there's a shorttag feature of some kind, so that <h1/This is a header/ is   
possible. 
 
So: 
<p /> Some text and then some and a / and then some more. 
Is actually: 
<p>> Some text and then some and a </p> and then some more. 
 
I'm not aware of a browsers that renders it that way, but there's your   
answer. 
--  
Rik Wasmus
 
  
Navigation:
[Reply to this message] 
 |