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

by "Steve Mount" <steve(at)saltyrain.com>

 Date:  Tue, 23 May 2000 21:44:38 -0400
 To:  "Ellen Cotton" <jellenc(at)IONET.NET>,
<hwg-techniques(at)mail.hwg.org>
 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>
tag.

-------------------------------------------------------------
Steve Mount, Software Engineer            steve(at)saltyrain.com
Home Site                            http://www.saltyrain.com
UVM Class of 1989                http://www.saltyrain.com/uvm
US Constitution Online          http://www.usconstitution.net
Manager, HWG Logo Team                     http://www.hwg.org

----- Original Message -----
From: Ellen Cotton <jellenc(at)IONET.NET>
To: <hwg-techniques(at)mail.hwg.org>
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