[html5] inline lists - correct markup?

Eitan Adler eitanadlerlist at gmail.com
Tue May 4 13:21:12 PDT 2010


What is the appropriate way to mark up inline lists?
Something like:
"I went to the store and bought eggs, cheese, and milk."
or
"I added three things in order to help: blah, deblah, and more blah"

I could imagine something like
<style>
.il {
display:inline;
list-style-type:none;
}
</style>
I went to the store and bought <ul class="il"><li class="il">eggs,
</li><li class="il">cheese, </li><li class="il">and milk.</li></ul>
which seems a bit much.

Are <ul> and <ol> not meant to be used in this way?



More information about the Help mailing list