how to align table in center in html code example
Example 1: how to center a table in html
<table style="border:1px solid black;margin-left:auto;margin-right:auto;">
Example 2: how to align table in html
.centerTable { margin: 0px auto; }
<table style="border:1px solid black;margin-left:auto;margin-right:auto;">
.centerTable { margin: 0px auto; }