1 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
2 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
3 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
1<!-- Button trigger modal -->
2<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter">
3 Launch demo modal
4</button>
5
6<!-- Modal -->
7<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
8 <div class="modal-dialog modal-dialog-centered" role="document">
9 <div class="modal-content">
10 <div class="modal-header">
11 <h5 class="modal-title" id="exampleModalCenterTitle">Modal title</h5>
12 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
13 <span aria-hidden="true">×</span>
14 </button>
15 </div>
16 <div class="modal-body">
17 ...
18 </div>
19 <div class="modal-footer">
20 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
21 <button type="button" class="btn btn-primary">Save changes</button>
22 </div>
23 </div>
24 </div>
25</div>
1<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
2<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script>
3
1<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
2
1 <!-- Latest compiled and minified CSS -->
2<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
3
4
5<!-- jQuery library -->
6<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
7
8
9<!-- Latest compiled JavaScript -->
10<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
1<!-- Types of Bootstrap links -->
2<a href="#" class="link-primary">Primary link</a>
3<a href="#" class="link-secondary">Secondary link</a>
4<a href="#" class="link-success">Success link</a>
5<a href="#" class="link-danger">Danger link</a>
6<a href="#" class="link-warning">Warning link</a>
7<a href="#" class="link-info">Info link</a>
8<a href="#" class="link-light">Light link</a>
9<a href="#" class="link-dark">Dark link</a>