On 12/4/11 10:56 AM, WLS wrote: > On 12/04/2011 01:19 PM, sat-dav wrote: >> Hey guys >> >> I wonder if you can Help with a issue on Sea Monkey >> >> Seamonkey, Hey, still getting the extra blank spaces. not between >> every line but maybe after each </xx> symbol. It adds them each time I >> save the file. Also why does seamonkey add a </li> to each <li> line? >> It is UN-necessary and it adds it to the beginning of the next line >> which if you are looking at the source really clutters things up. > > > SeaMonkey Composer adds </li> to each <li> line, because it is the > required end tag for a list item and is necessary. If you are not using > it your web pages do not conform to web standards. >
No, </li> is optional. W3C's HTML 4.01 specification (section 10.2) says "End tag: optional" for <li>. See <http://www.w3.org/TR/REC-html40/struct/lists.html#h-10.2>. W3C's HTML 5 draft specification (section 8.1.2.4) says > A li element's end tag may be omitted if the li element is > immediately followed by another li element or if there is no more > content in the parent element. See <http://www.w3.org/TR/2011/WD-html5-20110525/syntax.html#optional-tags>. Non-li elements (e.g., a p element) are possible within an li element, in which case an </li> end-tag would be very inappropriate before the embedded other element since the li element would not yet be ending. I have trouble picturing a case where an </li> end-tag would be needed. -- David E. Ross <http://www.rossde.com/>. Anyone who thinks government owns a monopoly on inefficient, obstructive bureaucracy has obviously never worked for a large corporation. © 1997 by David E. Ross _______________________________________________ support-seamonkey mailing list [email protected] https://lists.mozilla.org/listinfo/support-seamonkey

