[whatwg] Lists, <ins>/<del>, and <a>

Lachlan Hunt lachlan.hunt at lachy.id.au
Tue Aug 29 20:00:53 PDT 2006


Michel Fortin wrote:
> How can we markup removed or inserted list items? Here's a 
> general idea:
> 
>     <ul>
>     <ins><li>Some list item</li></ins>
>     <del><li>Another list item</li></del>
>     </ul>

This can be solved by putting the ins and del elements as the only child 
nodes of the li elements instead.

<ul>
   <li><ins>Some list item</ins></li>
   <li><del>Another list item</del></li>
</ul>

-- 
Lachlan Hunt
http://lachy.id.au/



More information about the whatwg mailing list