likely, you nested tags
and closed them in the wrong order. For example
<p><em>...</p> is not acceptable, as
<em> must be
closed before <p>. Acceptable nesting is:
possibility is that
you used an element which requires a child element that you did
Hence the parent element is "not finished", not complete. For
instance, in HTML the <head> element must contain a
element, lists require appropriate list items (<ul> and
<li>; <dl> requires <dt> and <dd>), and
is that this error does not exist! The PHP-code that produces
these tags is
very simple and very logical. Just a few lines! And nothing
<option></option> tags is nested! And as you can see
when you have
the XHTML code listed everything is in perfect order!
Hope to get some feedback! And thank you for all you are
> The PHP-code that produces
> these tags is very simple and very logical. Just a few lines!
All that matters here from the validator's perspective, or from the
perspectives of browsers and search engines, is the HTML document sent
by your server, not the server-side code that produces it and is
invisible from outside.
It is, however, possible that server-side code generates different HTML
responses depending on the request.