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