HTML list <ul> not showing items <li> on a new line

I created a standard HTML list to show all items on a new line. For some reason, when the text related to one item is short, another item is displayed on the same line (not below it). Do you have any idea how to add some line break into the list, to display items vertically ?
posted on 03.06.2019 at 18:08
0pnshow more

To display the list items vertically, try to add clear: both; in CSS for <li>.
posted on 05.06.2019 at 15:32
0pnshow more
share on facebookshare on twitter
2020 AnswerTabsTermsContact us
This site uses cookies to improve your experience, for analytics and ads. By continuing to browse this site you agree to our use of cookies.