how to display ul horizontally css code example Example: li elements horizontally css display: inline;