Tressa72
Tressa72

Reputation: 1

How to insert paragraph (or line) breaks within ordered and unordered lists

In ordered and unordered lists, I need to include several discrete paragraphs within a single item <li>.

How to do with CSS?

Upvotes: 0

Views: 60

Answers (1)

ingridly
ingridly

Reputation: 159

You can't break up existing content with just CSS. What you're talking about is determining the structure of your document - what HTML is for. CSS is for determining the appearance of your content. If you have control over your markup, then just insert several <p> tags within each <li>. That's perfectly fine to do.

Upvotes: 1

Related Questions