a suggestion

  I used the HTML validator and it flagged the following as an error:

<ul style="list-style-image:url(chkbullet2.jpg)"></ul>

I understand the issue (i.e., failure to include LIs in the parent 
element) but it seems this should be a warning rather than an error. Let 
me explain.

After the page containing this UL is rendered by the browser, I use a 
script to dynamically add LI child nodes to the list as they are 
required. This is a DHTML coding technique that seems to effectively and 
legally exploit the capability offered to me by the DOM. In the end, my 
page fully complies with the reasoning used by the Validator. So, I 
think the Validator needs to take this possibility into account and call 
the above construct a "warning" with an appropriate explanation, similar 
to the one I've offered, and accept the page as VALID HTML.

Thanks for your attention to this suggestion.

Received on Thursday, 21 October 2004 16:21:28 UTC