fhdfhdfhdfhdfhdfhdfdfhdfhdfhdhfdfhdfhdfhd dfhdfhdfhdfhdfhdfhdfhdfdfhdfhdfhdhfdfhdfhdfhdfh
DIR:/home/tcfq2ylb8mbt/public_html/tanpureinterior.com/admin_panel/base/ |
Current File : /home/tcfq2ylb8mbt/public_html/tanpureinterior.com/admin_panel/base/tables.html |
<!DOCTYPE html><!-- * CoreUI - Free Bootstrap Admin Template * @version v4.2.2 * @link https://coreui.io/product/free-bootstrap-admin-template/ * Copyright (c) 2023 creativeLabs Łukasz Holeczek * Licensed under MIT (https://github.com/coreui/coreui-free-bootstrap-admin-template/blob/main/LICENSE) --><!-- Breadcrumb--> <html lang="en"> <head> <base href="./../"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> <meta name="description" content="CoreUI - Open Source Bootstrap Admin Template"> <meta name="author" content="Łukasz Holeczek"> <meta name="keyword" content="Bootstrap,Admin,Template,Open,Source,jQuery,CSS,HTML,RWD,Dashboard"> <title>CoreUI Free Bootstrap Admin Template</title> <link rel="apple-touch-icon" sizes="57x57" href="assets/favicon/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="assets/favicon/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="assets/favicon/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="assets/favicon/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="assets/favicon/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="assets/favicon/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="assets/favicon/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="assets/favicon/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-icon-180x180.png"> <link rel="icon" type="image/png" sizes="192x192" href="assets/favicon/android-icon-192x192.png"> <link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="assets/favicon/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="16x16" href="assets/favicon/favicon-16x16.png"> <link rel="manifest" href="assets/favicon/manifest.json"> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="assets/favicon/ms-icon-144x144.png"> <meta name="theme-color" content="#ffffff"> <!-- Vendors styles--> <link rel="stylesheet" href="vendors/simplebar/css/simplebar.css"> <link rel="stylesheet" href="css/vendors/simplebar.css"> <!-- Main styles for this application--> <link href="css/style.css" rel="stylesheet"> <!-- We use those styles to show code examples, you should remove them in your application.--> <link href="css/examples.css" rel="stylesheet"> <link rel="canonical" href="https://coreui.io/docs/content/tables/"> </head> <body> <div class="sidebar sidebar-dark sidebar-fixed" id="sidebar"> <div class="sidebar-brand d-none d-md-flex"> <svg class="sidebar-brand-full" width="118" height="46" alt="CoreUI Logo"> <use xlink:href="assets/brand/coreui.svg#full"></use> </svg> <svg class="sidebar-brand-narrow" width="46" height="46" alt="CoreUI Logo"> <use xlink:href="assets/brand/coreui.svg#signet"></use> </svg> </div> <ul class="sidebar-nav" data-coreui="navigation" data-simplebar=""> <li class="nav-item"><a class="nav-link" href="index.html"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-speedometer"></use> </svg> Dashboard<span class="badge badge-sm bg-info ms-auto">NEW</span></a></li> <li class="nav-title">Theme</li> <li class="nav-item"><a class="nav-link" href="colors.html"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-drop"></use> </svg> Colors</a></li> <li class="nav-item"><a class="nav-link" href="typography.html"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-pencil"></use> </svg> Typography</a></li> <li class="nav-title">Components</li> <li class="nav-group"><a class="nav-link nav-group-toggle" href="#"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-puzzle"></use> </svg> Base</a> <ul class="nav-group-items"> <li class="nav-item"><a class="nav-link" href="base/accordion.html"><span class="nav-icon"></span> Accordion</a></li> <li class="nav-item"><a class="nav-link" href="base/breadcrumb.html"><span class="nav-icon"></span> Breadcrumb</a></li> <li class="nav-item"><a class="nav-link" href="base/cards.html"><span class="nav-icon"></span> Cards</a></li> <li class="nav-item"><a class="nav-link" href="base/carousel.html"><span class="nav-icon"></span> Carousel</a></li> <li class="nav-item"><a class="nav-link" href="base/collapse.html"><span class="nav-icon"></span> Collapse</a></li> <li class="nav-item"><a class="nav-link" href="base/list-group.html"><span class="nav-icon"></span> List group</a></li> <li class="nav-item"><a class="nav-link" href="base/navs-tabs.html"><span class="nav-icon"></span> Navs & Tabs</a></li> <li class="nav-item"><a class="nav-link" href="base/pagination.html"><span class="nav-icon"></span> Pagination</a></li> <li class="nav-item"><a class="nav-link" href="base/placeholders.html"><span class="nav-icon"></span> Placeholders</a></li> <li class="nav-item"><a class="nav-link" href="base/popovers.html"><span class="nav-icon"></span> Popovers</a></li> <li class="nav-item"><a class="nav-link" href="base/progress.html"><span class="nav-icon"></span> Progress</a></li> <li class="nav-item"><a class="nav-link" href="base/scrollspy.html"><span class="nav-icon"></span> Scrollspy</a></li> <li class="nav-item"><a class="nav-link" href="base/spinners.html"><span class="nav-icon"></span> Spinners</a></li> <li class="nav-item"><a class="nav-link" href="base/tables.html"><span class="nav-icon"></span> Tables</a></li> <li class="nav-item"><a class="nav-link" href="base/tooltips.html"><span class="nav-icon"></span> Tooltips</a></li> </ul> </li> <li class="nav-group"><a class="nav-link nav-group-toggle" href="#"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-cursor"></use> </svg> Buttons</a> <ul class="nav-group-items"> <li class="nav-item"><a class="nav-link" href="buttons/buttons.html"><span class="nav-icon"></span> Buttons</a></li> <li class="nav-item"><a class="nav-link" href="buttons/button-group.html"><span class="nav-icon"></span> Buttons Group</a></li> <li class="nav-item"><a class="nav-link" href="buttons/dropdowns.html"><span class="nav-icon"></span> Dropdowns</a></li> </ul> </li> <li class="nav-item"><a class="nav-link" href="charts.html"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-chart-pie"></use> </svg> Charts</a></li> <li class="nav-group"><a class="nav-link nav-group-toggle" href="#"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-notes"></use> </svg> Forms</a> <ul class="nav-group-items"> <li class="nav-item"><a class="nav-link" href="forms/form-control.html"> Form Control</a></li> <li class="nav-item"><a class="nav-link" href="forms/select.html"> Select</a></li> <li class="nav-item"><a class="nav-link" href="forms/checks-radios.html"> Checks and radios</a></li> <li class="nav-item"><a class="nav-link" href="forms/range.html"> Range</a></li> <li class="nav-item"><a class="nav-link" href="forms/input-group.html"> Input group</a></li> <li class="nav-item"><a class="nav-link" href="forms/floating-labels.html"> Floating labels</a></li> <li class="nav-item"><a class="nav-link" href="forms/layout.html"> Layout</a></li> <li class="nav-item"><a class="nav-link" href="forms/validation.html"> Validation</a></li> </ul> </li> <li class="nav-group"><a class="nav-link nav-group-toggle" href="#"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-star"></use> </svg> Icons</a> <ul class="nav-group-items"> <li class="nav-item"><a class="nav-link" href="icons/coreui-icons-free.html"> CoreUI Icons<span class="badge badge-sm bg-success ms-auto">Free</span></a></li> <li class="nav-item"><a class="nav-link" href="icons/coreui-icons-brand.html"> CoreUI Icons - Brand</a></li> <li class="nav-item"><a class="nav-link" href="icons/coreui-icons-flag.html"> CoreUI Icons - Flag</a></li> </ul> </li> <li class="nav-group"><a class="nav-link nav-group-toggle" href="#"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-bell"></use> </svg> Notifications</a> <ul class="nav-group-items"> <li class="nav-item"><a class="nav-link" href="notifications/alerts.html"><span class="nav-icon"></span> Alerts</a></li> <li class="nav-item"><a class="nav-link" href="notifications/badge.html"><span class="nav-icon"></span> Badge</a></li> <li class="nav-item"><a class="nav-link" href="notifications/modals.html"><span class="nav-icon"></span> Modals</a></li> <li class="nav-item"><a class="nav-link" href="notifications/toasts.html"><span class="nav-icon"></span> Toasts</a></li> </ul> </li> <li class="nav-item"><a class="nav-link" href="widgets.html"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-calculator"></use> </svg> Widgets<span class="badge badge-sm bg-info ms-auto">NEW</span></a></li> <li class="nav-divider"></li> <li class="nav-title">Extras</li> <li class="nav-group"><a class="nav-link nav-group-toggle" href="#"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-star"></use> </svg> Pages</a> <ul class="nav-group-items"> <li class="nav-item"><a class="nav-link" href="login.html" target="_top"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-account-logout"></use> </svg> Login</a></li> <li class="nav-item"><a class="nav-link" href="register.html" target="_top"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-account-logout"></use> </svg> Register</a></li> <li class="nav-item"><a class="nav-link" href="404.html" target="_top"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-bug"></use> </svg> Error 404</a></li> <li class="nav-item"><a class="nav-link" href="500.html" target="_top"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-bug"></use> </svg> Error 500</a></li> </ul> </li> <li class="nav-item mt-auto"><a class="nav-link" href="https://coreui.io/docs/templates/installation/" target="_blank"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-description"></use> </svg> Docs</a></li> <li class="nav-item"><a class="nav-link nav-link-danger" href="https://coreui.io/pro/" target="_top"> <svg class="nav-icon"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-layers"></use> </svg> Try CoreUI <div class="fw-semibold">PRO</div> </a></li> </ul> <button class="sidebar-toggler" type="button" data-coreui-toggle="unfoldable"></button> </div> <div class="wrapper d-flex flex-column min-vh-100 bg-light"> <header class="header header-sticky mb-4"> <div class="container-fluid"> <button class="header-toggler px-md-0 me-md-3" type="button" onclick="coreui.Sidebar.getInstance(document.querySelector('#sidebar')).toggle()"> <svg class="icon icon-lg"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-menu"></use> </svg> </button><a class="header-brand d-md-none" href="#"> <svg width="118" height="46" alt="CoreUI Logo"> <use xlink:href="assets/brand/coreui.svg#full"></use> </svg></a> <ul class="header-nav d-none d-md-flex"> <li class="nav-item"><a class="nav-link" href="#">Dashboard</a></li> <li class="nav-item"><a class="nav-link" href="#">Users</a></li> <li class="nav-item"><a class="nav-link" href="#">Settings</a></li> </ul> <ul class="header-nav ms-auto"> <li class="nav-item"><a class="nav-link" href="#"> <svg class="icon icon-lg"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-bell"></use> </svg></a></li> <li class="nav-item"><a class="nav-link" href="#"> <svg class="icon icon-lg"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-list-rich"></use> </svg></a></li> <li class="nav-item"><a class="nav-link" href="#"> <svg class="icon icon-lg"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-envelope-open"></use> </svg></a></li> </ul> <ul class="header-nav ms-3"> <li class="nav-item dropdown"><a class="nav-link py-0" data-coreui-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"> <div class="avatar avatar-md"><img class="avatar-img" src="assets/img/avatars/8.jpg" alt="user@email.com"></div> </a> <div class="dropdown-menu dropdown-menu-end pt-0"> <div class="dropdown-header bg-light py-2"> <div class="fw-semibold">Account</div> </div><a class="dropdown-item" href="#"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-bell"></use> </svg> Updates<span class="badge badge-sm bg-info ms-2">42</span></a><a class="dropdown-item" href="#"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-envelope-open"></use> </svg> Messages<span class="badge badge-sm bg-success ms-2">42</span></a><a class="dropdown-item" href="#"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-task"></use> </svg> Tasks<span class="badge badge-sm bg-danger ms-2">42</span></a><a class="dropdown-item" href="#"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-comment-square"></use> </svg> Comments<span class="badge badge-sm bg-warning ms-2">42</span></a> <div class="dropdown-header bg-light py-2"> <div class="fw-semibold">Settings</div> </div><a class="dropdown-item" href="#"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-user"></use> </svg> Profile</a><a class="dropdown-item" href="#"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-settings"></use> </svg> Settings</a><a class="dropdown-item" href="#"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-credit-card"></use> </svg> Payments<span class="badge badge-sm bg-secondary ms-2">42</span></a><a class="dropdown-item" href="#"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-file"></use> </svg> Projects<span class="badge badge-sm bg-primary ms-2">42</span></a> <div class="dropdown-divider"></div><a class="dropdown-item" href="#"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-lock-locked"></use> </svg> Lock Account</a><a class="dropdown-item" href="#"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-account-logout"></use> </svg> Logout</a> </div> </li> </ul> </div> <div class="header-divider"></div> <div class="container-fluid"> <nav aria-label="breadcrumb"> <ol class="breadcrumb my-0 ms-2"> <li class="breadcrumb-item"> <!-- if breadcrumb is single--><a href="#">Home</a> </li> <li class="breadcrumb-item"> <!-- if breadcrumb is single--><a href="#">Components</a> </li> <li class="breadcrumb-item"> <!-- if breadcrumb is single--><a href="#">Base</a> </li> <li class="breadcrumb-item active"><span>Tables</span></li> </ol> </nav> </div> </header> <div class="body flex-grow-1 px-3"> <div class="container-lg"> <div class="car"></div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Basic example</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Using the most basic table markup, here’s how <code>.table</code>-based tables look in Bootstrap.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1000" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#overview" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1000"> <table class="table"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Variants</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Use contextual classes to color tables, table rows or individual cells.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1001" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#variants" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1001"> <table class="table"> <thead> <tr> <th scope="col">Class</th> <th scope="col">Heading</th> <th scope="col">Heading</th> </tr> </thead> <tbody> <tr> <th scope="row">Default</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-primary"> <th scope="row">Primary</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-secondary"> <th scope="row">Secondary</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-success"> <th scope="row">Success</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-danger"> <th scope="row">Danger</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-warning"> <th scope="row">Warning</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-info"> <th scope="row">Info</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-light"> <th scope="row">Light</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-dark"> <th scope="row">Dark</th> <td>Cell</td> <td>Cell</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Striped rows</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Use <code>.table-striped</code> to add zebra-striping to any table row within the <code> <tbody></code>.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1002" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#striped-rows" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1002"> <table class="table table-striped"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> <p class="text-medium-emphasis small">These classes can also be added to table variants:</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1003" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#striped-rows" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1003"> <table class="table table-dark table-striped"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1004" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#striped-rows" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1004"> <table class="table table-success table-striped"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Hoverable rows</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Add <code>.table-hover</code> to enable a hover state on table rows within a <code> <tbody></code>.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1005" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#hoverable-rows" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1005"> <table class="table table-hover"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1006" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#hoverable-rows" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1006"> <table class="table table-dark table-hover"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> <p class="text-medium-emphasis small">These hoverable rows can also be combined with the striped variant:</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1007" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#hoverable-rows" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1007"> <table class="table table-striped table-hover"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Active tables</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Highlight a table row or cell by adding a <code>.table-active</code> class.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1008" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#active-tables" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1008"> <table class="table"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr class="table-active"> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td class="table-active" colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1009" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#active-tables" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1009"> <table class="table table-dark"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr class="table-active"> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td class="table-active" colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Bordered tables</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Add <code>.table-bordered</code> for borders on all sides of the table and cells.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1010" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#bordered-tables" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1010"> <table class="table table-bordered"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> <p class="text-medium-emphasis small"><a href="https://coreui.io/docs/utilities/borders/#border-color">Border color utilities</a> can be added to change colors:</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1011" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#bordered-tables" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1011"> <table class="table table-bordered border-primary"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Tables without borders</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Add <code>.table-borderless</code> for a table without borders.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1012" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#tables-without-borders" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1012"> <table class="table table-borderless"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1013" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#tables-without-borders" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1013"> <table class="table table-dark table-borderless"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Small tables</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Add <code>.table-sm</code> to make any <code>.table</code> more compact by cutting all cell <code>padding</code> in half.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1014" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#small-tables" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1014"> <table class="table table-sm"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1015" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#small-tables" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1015"> <table class="table table-dark table-sm"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Vertical alignment</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Table cells of <code> <thead></code> are always vertical aligned to the bottom. Table cells in <code> <tbody></code> inherit their alignment from <code> <table></code> and are aligned to the the top by default. Use the <a href="https://coreui.io/docs/utilities/vertical-align/">vertical align</a> classes to re-align where needed.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1016" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#vertical-alignment" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1016"> <div class="table-responsive"> <table class="table align-middle"> <thead> <tr> <th class="w-25" scope="col">Heading 1</th> <th class="w-25" scope="col">Heading 2</th> <th class="w-25" scope="col">Heading 3</th> <th class="w-25" scope="col">Heading 4</th> </tr> </thead> <tbody> <tr> <td>This cell inherits <code>vertical-align: middle;</code> from the table</td> <td>This cell inherits <code>vertical-align: middle;</code> from the table</td> <td>This cell inherits <code>vertical-align: middle;</code> from the table</td> <td>This here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells.</td> </tr> <tr class="align-bottom"> <td>This cell inherits <code>vertical-align: bottom;</code> from the table row</td> <td>This cell inherits <code>vertical-align: bottom;</code> from the table row</td> <td>This cell inherits <code>vertical-align: bottom;</code> from the table row</td> <td>This here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells.</td> </tr> <tr> <td>This cell inherits <code>vertical-align: middle;</code> from the table</td> <td>This cell inherits <code>vertical-align: middle;</code> from the table</td> <td class="align-top">This cell is aligned to the top.</td> <td>This here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells.</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Nesting</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Border styles, active styles, and table variants are not inherited by nested tables.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1017" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#nesting" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1017"> <table class="table table-striped table-bordered"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <td colspan="4"> <table class="table mb-0"> <thead> <tr> <th scope="col">Header</th> <th scope="col">Header</th> <th scope="col">Header</th> </tr> </thead> <tbody> <tr> <th scope="row">A</th> <td>First</td> <td>Last</td> </tr> <tr> <th scope="row">B</th> <td>First</td> <td>Last</td> </tr> <tr> <th scope="row">C</th> <td>First</td> <td>Last</td> </tr> </tbody> </table> </td> </tr> <tr> <th scope="row">3</th> <td>Larry</td> <td>the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Table head</span></div> <div class="card-body"> <p class="text-medium-emphasis small">Similar to tables and dark tables, use the modifier classes <code>.table-light</code> or <code>.table-dark</code> to make <code> <thead></code>s appear light or dark gray.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1018" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#table-head" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1018"> <table class="table"> <thead class="table-light"> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td>Larry</td> <td>the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1019" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#table-head" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1019"> <table class="table"> <thead class="table-dark"> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td>Larry</td> <td>the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Table foot</span></div> <div class="card-body"> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1020" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#table-foot" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1020"> <table class="table"> <thead class="table-light"> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td>Larry</td> <td>the Bird</td> <td>@twitter</td> </tr> </tbody> <tfoot> <tr> <td>Footer</td> <td>Footer</td> <td>Footer</td> <td>Footer</td> </tr> </tfoot> </table> </div> </div> </div> </div> </div> <div class="card mb-4"> <div class="card-header"><strong>Tables</strong><span class="small ms-1">Captions</span></div> <div class="card-body"> <p class="text-medium-emphasis small">A <code> <caption></code> functions like a heading for a table. It helps users with screen readers to find a table and understand what it’s about and decide if they want to read it.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1021" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#captions" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1021"> <table class="table"> <caption>List of users</caption> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> <p class="text-medium-emphasis small">You can also put the <code> <caption></code> on the top of the table with <code>.caption-top</code>.</p> <div class="example"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-coreui-toggle="tab" href="#preview-1022" role="tab"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-media-play"></use> </svg>Preview</a></li> <li class="nav-item"><a class="nav-link" href="https://coreui.io/docs/content/tables/#captions" target="_blank"> <svg class="icon me-2"> <use xlink:href="vendors/@coreui/icons/svg/free.svg#cil-code"></use> </svg>Code</a></li> </ul> <div class="tab-content rounded-bottom"> <div class="tab-pane p-3 active preview" role="tabpanel" id="preview-1022"> <table class="table caption-top"> <caption>List of users</caption> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td>Larry</td> <td>the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> <footer class="footer"> <div><a href="https://coreui.io">CoreUI </a><a href="https://coreui.io">Bootstrap Admin Template</a> © 2023 creativeLabs.</div> <div class="ms-auto">Powered by <a href="https://coreui.io/docs/">CoreUI UI Components</a></div> </footer> </div> <!-- CoreUI and necessary plugins--> <script src="vendors/@coreui/coreui/js/coreui.bundle.min.js"></script> <script src="vendors/simplebar/js/simplebar.min.js"></script> <script> </script> </body> </html> |