is now part of Shuffle™. You can use the editor on this domain, but we encourage you to try Shuffle →. Shuffle™ includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.

Bootstrap class: .caption-top

    <table class="table caption-top">
        <caption>This is caption-top example</caption>
        <thead>
        <tr>
            <th scope="col">#</th>
            <th scope="col">First</th>
            <th scope="col">Second</th>
            <th scope="col">Third</th>
        </tr>
        </thead>
        <tbody>
            <tr>
                <th scope="row">1</th>
                <td>Example 1</td>
                <td>option</td>
                <td>option</td>
            </tr>
            <tr>
                <th scope="row">2</th>
                <td>Example 2</td>
                <td>option</td>
                <td>option</td>
            </tr>
        </tbody>
    </table>

Preview

This is caption-top example
# First Second Third
1 Example 1 option option
2 Example 2 option option

Tips 💡

More in Bootstrap Tables