align the text of a to center code example Example 1: text align center text-align: center; Example 2: how to align text ot center text-align: center