You was missing the </li> at the end of each list item after the first one
…and those incomplete list items were not being rendered. The reason they appeared inline was because the anchors were being rendered.
By default, anchors are inline elements, hence they are rendered as display:inline;
By default, an LI is rendered as display:list-item; which generates a principal block box and a marker box.
Block boxes (other than inline-block) will stack one upon another.
Thanks, but that’s called a copy and paste error.
It doesn’t answer the behavior I’m seeing.
If you are still seeing them appear beside each other then you have either floated them or set them as display:inline; via CSS.
An un-styled UL will stack as seen in your second description
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">