Center Markdown Table

Center-align your Markdown tables on the page

<div align="center">

| Name | Score |
|------|-------|
| Alice | 95 |
| Bob | 87 |
| Carol | 92 |

</div>
Name Score
Alice 95
Bob 87
Carol 92

How to Center a Markdown Table

Standard Markdown doesn't support centering elements. To center a table, wrap it in HTML:

Method 1: Using <div> (Most Compatible)

<div align="center">

| Header 1 | Header 2 |
|----------|----------|
| Cell 1   | Cell 2   |

</div>

Note: The blank lines around the table are important for proper rendering on GitHub.

Method 2: Using <p>

<p align="center">

| Header 1 | Header 2 |
|----------|----------|
| Cell 1   | Cell 2   |

</p>

Method 3: Full HTML Table

<table align="center">
  <tr><th>Header</th></tr>
  <tr><td>Cell</td></tr>
</table>