<table class="table"> <thead> <tr> <th scope="col">#</th> <th scope="col">見出し1</th> <th scope="col">見出し2</th> <th scope="col">見出し3</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>項目1</td> <td>項目2</td> <td>項目3</td> </tr> <tr> <th scope="row">2</th> <td>項目4</td> <td>項目5</td> <td>項目6</td> </tr> <tr> <th scope="row">3</th> <td>項目7</td> <td>項目8</td> <td>項目9</td> </tr> </tbody> </table>
![Bootstrap4に用意されているクラス【table編】](https://cdn-ak-scissors.b.st-hatena.com/image/square/32fbe82a9ff58060b2f2b31d5e9598899811ea20/height=288;version=1;width=512/https%3A%2F%2Fwebnetamemo.com%2Fwp3%2Fwp-content%2Fuploads%2F2023%2F09%2Fbootstrap4.jpg)