Jumbotron :

Hello guys ! today we will learn about Jumbotron in Bootstrap 4 !

Jumbotron creates one box that gives extra attention to the data written in it .

Jumbotron can be created by using .jumbotron class .

Note :

for taking full width jumbotron take class jumbotron-fluid

Example :

PHP Example

Edit it yourself



<!DOCTYPE html>
<html lang="en">
<head>
  <title>Jumbotron Example</title>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.4/dist/jquery.slim.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="jumbotron">
  <h1>Bootstrap Tutorial</h1>
  <p>Bootstrap is the most popular HTML, CSS...</p>
</div>	

</body>
</html>