span class for inline text code example Example 1: set items inline html display:inline; Example 2: how to write <span></span>