x
 
1
<!DOCTYPE html>
2
<title>My Example</title>
3
4
<!-- Latest compiled and minified Bootstrap CSS -->
5
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
6
7
<style>
8
body {
9
padding-top: 1em;
10
}   
11
</style> <div class="container-fluid">
12
        
13
<table class="table table-bordered">
14
<thead>
15
<tr>
16
<th>Header 1</th>
17
<th>Header 2</th>
18
<th>Header 3</th>
19
</tr>
20
</thead>
21
<tfoot>
22
<tr>
23
<th>Footer 1</th>
24
<th>Footer 2</th>
25
<th>Footer 3</th>
26
</tr>
27
</tfoot>
28
<tbody>
29
<tr>
30
<td>Cell</td>
31
<td>Cell</td>
32
<td>Cell</td>
33
</tr>
34
<tr>
35
<td>Cell</td>
36
<td>Cell</td>
37
<td>Cell</td>
38
</tr>
39
<tr>
40
<td>Cell</td>
41
<td>Cell</td>
42
<td>Cell</td>
43
</tr>
44
</tbody>
45
</table>
46
47
</div>
48
        
49
<!-- jQuery library -->
50
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
51
52
<!-- Popper -->
53
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
54
55
<!-- Latest compiled and minified Bootstrap JavaScript -->
56
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
57
58
<!-- Initialize Bootstrap functionality -->
59
<script>
60
// Initialize tooltip component
61
$(function () {
62
  $('[data-toggle="tooltip"]').tooltip()
63
})
64
65
// Initialize popover component
66
$(function () {
67
  $('[data-toggle="popover"]').popover()
68
})
69
</script>