In CSS, the property is used to set an element's text alignment: code example Example: css text align right body { text-align: right; }