I am trying to center each row ( <tr>) table. I have an odd number on a couple of lines.
Here is an example of my HTML:
<!DOCTYPE html>
<html>
<body>
<table border="1">
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
</tr>
<tr>
<td>7</td>
<td>8</td>
<td>9</td>
<td>10</td>
<td>11</td>
</tr>
</table>
</body>
</html>
Currently, the output is as shown below:

But I would like it to be like this:

If this can be achieved, I would be very happy to know how this can be done.
source
share