list - Text won't stay in the same format as written in HTML document -


my html document has bunch of text written down in list so;

example

test

this

way

yet when page loaded 1 jumbled line. how format it's way it's written above without spacing? using

<p>

only creates more spacing.

you can use line breaks:

text<br>more text<br>even more text 

these act carriage returns , have them on separate lines. here's example on jsfiddle. read more @ article @ mdn.


Comments