[UPHPU] proper HTML lists

Gary Thornock Gary_Thornock at sento.com
Thu Feb 24 09:54:58 MST 2005


> -----Original Message-----
> From: Wade Preston Shearer [mailto:lists at anavidesign.com] 
> Sent: Thursday, February 24, 2005 09:52
> To: uphpu at uphpu.org
> Subject: [UPHPU] proper HTML lists
> 
> Which of these is proper? or does it matter?
> 
> Option 1:
> 
> <ul>
>   <li>
>     <ul>
>       <li></li>
>       <li></li>
>       <li></li>
>       <li></li>
>     </ul>
>   </li>
>   <li>
>     <ul>
>       <li></li>
>       <li></li>
>       <li></li>
>       <li></li>
>     </ul>
>   </li>
> </ul>

Most browsers don't seem to care, but option 1 is the one that
passes the W3C validator, so use that.

- Gary




More information about the UPHPU mailing list