<ul>
  <li>Orange</li>
  <li>Green</li>
  <li>Blue</li>
</ul>
li {
  display: inline-block;
  margin: 0 10px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.