Skip to content

Bootstrap 5 Text alignment inside Table

You can you the same text alignment classes inside tables.

Add the following classes to th td tags.

<td class="text-start">Left aligned text.</td>
<td class="text-center">Center aligned text.</td>
<td class="text-end">Right aligned text.</td>