Re: Vaidator Issue

scripsit Brenda Make:
 
>    <p>Please try these things:
>        <ul class="list_bulleted">
>            <li>Thing one;</li>
>            <li>Thing two;</li>
>            <li>Thing three;</li>
>         </ul>
>     ...before mailing me with your problem.</p>

While the argument might be made that this makes sense, as Liam said
that's an issue to take up with the folks who write the standards.  The
Validator just checks against those standards.

What happens in your example in HTML is that the <ul> implicitly forces
closed the <p>.  Then the text after the </ul> is `naked' (i.e., a
direct child of <body> or whatever the <p>'s parent was), and stray </p>
would be an error.  In XHTML, of course, elements can't be implicitly
closed, so the <ul> is itself an error.

If you want the visual appearance of the <ul> being a part of the <p>,
try using CSS to close up the vertical margins between the <ul> and the
preceding and following <p> elements.

-- 
Thanasis Kinias
Doctoral Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.

Ash nazg durbatulūk, ash nazg gimbatul,
Ash nazg thrakatulūk agh burzum-ishi krimpatul

Received on Thursday, 22 August 2002 00:30:30 UTC