<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">

<table class="table table-bordered table-hover m-3" style="width: 70%;">
    <caption>an example table</caption>
    <thead>
        <tr class="header">
            <th style="text-align: left;">first column</th>
            <th style="text-align: right;">second column</th>
        </tr>
    </thea