How to create Jumbotron using Bootstrap 5 ? Last Updated : 15 Sep, 2020 Comments Improve Suggest changes Like Article Like Report Bootstrap Jumbotron is a responsive component whose main goal is to draw the visitor's attention or highlight a special piece of information. Inside a Jumbotron, you can make use of almost any other Bootstrap code to further increase its engagement value. Uses of Jumbotron: Image showcaseHighlighting contentIntroduction for a Certain Topic Approach: To create a Jumbotron bootstrap provides a class named “jumbotron”. Bootstrap uses some default properties applied to Jumbotron, making it a very good 'eye-catcher'. Example 1: Creating a simple Jumbotron: HTML <!DOCTYPE html> <html> <head> <link rel="stylesheet" href= "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity= "sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> </head> <body> <div class="jumbotron"> <h1>Text to catch user attention/greeting.</h1> <p class="lead">lorem ipsum.</p> <hr class="my-4"> <p>Some dummy text</p> </div> </body> </html> Output: Example 2: To create a full-width Jumbotron we use the jumbotron-fluid class along with the Jumbotron class. HTML <!DOCTYPE html> <html> <head> <link rel="stylesheet" href= "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity= "sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> </head> <body> <div class="jumbotron jumbotron-fluid"> <div class="container"> <h1 class="display-4">Fluid jumbotron</h1> <p class="lead"> This is a modified jumbotron that occupies the entire horizontal space of its parent. </p> </div> </div> </body> </html> Output Example 3: We can also style the Jumbotron and add background images to make it more attractive as shown below. HTML <!DOCTYPE html> <html> <head> <link rel="stylesheet" href= "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity= "sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <style> .jumbotron-image { background-position: center center; background-repeat: no-repeat; background-size: cover; } </style> </head> <body> <div class="jumbotron text-white jumbotron-image shadow" style="background-image: url( https://media.geeksforgeeks.org/wp-content/uploads/20200914000601/gfg-300x200.jpg );"> <h2 class="mb-4"> Jumbotron with background image </h2> <p class="mb-4"> Hey, check this out. </p> <a class="btn btn-primary"> Click! </a> </div> </body> </html> Output Comment More infoAdvertise with us Next Article How to create a navbar in Bootstrap ? S SnehashishKalamkar Follow Improve Article Tags : Web Technologies Bootstrap Bootstrap-Misc Similar Reads How to create a web page using Bootstrap ? Bootstrap is an open-source CSS framework for creating a responsive and customizable frontend for websites and web applications. Using Bootstrap's grid system one can easily create a web page very fast. Any webpage these days needs to have a navbar for user navigation, some content & a form for 6 min read How to create forms using Twitter Bootstrap ? Every website that you visit will have some sort of form in it to collect data from the users. A Form consists of input fields that allow the user to enter the data. Bootstrap provides us with a very easy way to add customizable & responsive forms to our web pages. In this article, we will learn 4 min read How to Create Multipage Website Using Bootstrap? To create a multipage website using Bootstrap and HTML structure utilize Bootstrap's navbar component to create navigation links between pages. Incorporate Font Awesome icons for visual enhancements and use Bootstrap classes for responsive design.Output Preview:How to Create Multipage Website Using 5 min read How to create a navbar in Bootstrap ? Bootstrap Navbar is a navigation header that is located at the top of the webpage which can be extended or collapsed, depending on the screen size. Bootstrap Navbar is used to create responsive navigation for our website. We can create standard navigation bar with <nav class="navbar navbar-defaul 2 min read How to Create a Basic Two-Column Layout using Bootstrap 5 ? To create a basic two-column layout using Bootstrap, first, we have to enclose your content within a container, then create two divs with classes like col or col-xx, where xx represents the breakpoint for responsive behavior. Place your content inside these columns, and Bootstrap will handle the lay 3 min read How to generate thumbnails and customize using bootstrap ? Bootstrap helps web developers to create thumbnails that are used to show linked images in grids with the pre-defined classes which help to reduce codes length. Thumbnails are created to provide a quick preview of images with small images.Thumbnail Image: A thumbnail is a small image that represents 4 min read Like