li inline html code example Example: html list inline #menu ul { list-style: none; margin: 0; padding: 0; display: inline-flex }