Re: <li> </li> or <li />?

by "Steve Mount" <steve(at)>

 Date:  Tue, 23 May 2000 21:44:38 -0400
 To:  "Ellen Cotton" <jellenc(at)IONET.NET>,
 References:  ionet
  todo: View Thread, Original
<li> already has a closing tag: </li>  In HTML, you can include it or not,
because the browser can infer its presence by the next <li> tag, or the
</ul> or </ol> tag.  If you want to be XML compatible, use the closing </li>

Steve Mount, Software Engineer            steve(at)
Home Site                  
UVM Class of 1989      
US Constitution Online
Manager, HWG Logo Team           

----- Original Message -----
From: Ellen Cotton <jellenc(at)IONET.NET>
To: <hwg-techniques(at)>
Sent: Tuesday, May 23, 2000 3:32 PM
Subject: <li> </li> or <li />?

> So how is <li> terminated under XML?....</li> or <li  /> Have been
> trying to stay XML compatable with the last few sites I've designed
> but this one tag eludes me.....Ellen

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA