inline items code example Example 1: set items inline html display:inline; Example 2: list is an inline element? yes, list is an inline-block element