This construct is preferred if you want to add images in the same list item as text, and is essentially required if you want to use a "Note" or "Warning" style in the middle of an ordered or unordered list. Additionally, you don't have to create a bunch of different LI styles to achieve this effect.
Finally, I think it is important to remember that the semantic construction of your underlying HTML is especially important for disabled users who use screen-reading software to read them the contents of a web page. When everything that is tied together as part of the same step is part of the same LI, it makes semantic sense, and is understandable to those who can't see the document.
What is really cool is that with CSS selectors you can actually target paragraphs inside an LI, so you can modify paragraph settings just for paragraphs inside a list. For example:
Code: Select all
p {
color:blue;
}
li p {
color:red;
}
In this case, all paragraphs are blue, and all paragraphs that are child elements of an LI element are red. You've achieved different styles for paragraphs without the need for any paragraph classes. Nifty, huh?!