<?xml version="1.0" encoding="utf-8"?>

CSS display property with the inline value

CSS display property with the inline value

The inline value of the display property is the correct answer. As a result, the list items will flow horizontally and take up as little space as possible. As the example shows, elements displayed inline can coexist with other elements on a line and don't force a line break to begin in the document flow.

Improve your UX & Product skills with interactive courses that actually work