center table center code example Example: how to center a table in html <table style="border:1px solid black;margin-left:auto;margin-right:auto;">