<ul>
    <li>1つめ</li>
    <li>2つめ</li>
    <li>3つめ</li>
</ul>
li {
    display: inline-block;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.