ShapeYourPath
(current)
Run Code
Live Code Editor- Bootstrap 4 Card With Header,Footer And Link
Source Code
<!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" /> <title>Card With Header , Footer And Link</title> </head> <body> <div class="container text-center mt-4"> <h1 class="text-center my-3">Bootstrap 4 Card With Header, Footer & Link</h1> <p class="text-center my-3">In this example, you will learn how to create Bootstrap 4 card having header, footer and link.</p> <div class="row"> <div class="col-sm-4 offset-sm-4"> <div class="card text-center"> <div class="card-header">Card Header</div> <div class="card-body"> <h4 class="card-title text-muted">Card Body Text</h4> <p class="card-text">Write your card content now.</p> </div> <div class="card-footer"> <h4 class="card-title text-muted">Card Footer Text</h4> <a href="#" class="card-link">Card link</a> <a href="#" class="card-link">Another link</a> </div> </div> </div> </div> <!--/row--> </div> <!--/container--> <!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> </body> </html>
Output :
Running