how to center table with css 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 place a table in center in css
.center {
margin-left: auto;
margin-right: auto;
}