w3schools js style text center code example Example: css text align right body { text-align: right; }