ul list center align code example
Example 1: css ul to center
ul {
justify-content: center;
display: flex;
}
Example 2: how to align list to the centre in css
<ul class="text-center" style="list-style-position: inside">
<li>Born</li>
</ul>