Within a <ul>
element, clearly the vertical spacing between lines can be formatted with the line-height attribute.
My question is, within a <ul>
element, how do I set the vertical spacing between the list items?
Within a <ul>
element, clearly the vertical spacing between lines can be formatted with the line-height attribute.
My question is, within a <ul>
element, how do I set the vertical spacing between the list items?
Add a
margin
to yourli
tags. That will create space between theli
and you can useline-height
to set the spacing to the text within theli
tags.