The text-align property sets the horizontal alignment, like left, right, or center. By default, the text in <th> elements are center-aligned and the text in <td> elements are left-aligned. The following example left-aligns the text in <th> elements: Example th { text-align: left; }