html css unordered list center code example Example: center unordered list html ul { display: table; margin: 0 auto; }