WebAIM - Web Accessibility In Mind

E-mail List Archives

Unclosed list tags

for

From: Elaine Nelson
Date: Oct 7, 2004 9:45AM


> So my question is, which is the lesser of two evils? Putting it in a table,
> or having unclosed tags?

As has been noted by several respondents, closing LIs isn't required
in HTML 4...however, you may want to be careful with any CSS that you
apply to those LIs. I don't have any specific experience with this
with lists, but I seem to remember from my early experiments with CSS
some years back that strange things would happen with unclosed
paragraphs, which have the same "legal" status.

If you can do it, I'd second the suggestion of another poster that you
run the whole thing thru something like Tidy before it goes live.

--
Elaine Nelson
<EMAIL REMOVED>
work: http://www.pierce.ctc.edu/
notWork: http://www.epersonae.com/