- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Make an element look like a heading with Bootstrap
To make an element look like a heading, you can try to run the following code −
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <div class = "container"> <h1>Planet</h1> <h2>Earth</h2> <h3>Asia</h3> <h4>India</h4> <h5>Hyderabad</h5> <h6>Madhapur</h6> </div> </body> </html>
- Related Articles
- Create a button look like a link with Bootstrap
- Make an element invisible with Bootstrap
- Set Bootstrap Panel with Heading
- Create a heading inside the media object with Bootstrap
- Add a title to any heading element in the Bootstrap 4 card
- Bootstrap panel-heading class
- Make an image responsive with Bootstrap
- Make an Ordered list with Bootstrap
- What Does an MBA Syllabus Look Like?
- Add a heading container to Bootstrap panel
- Create a list group heading in Bootstrap
- Get a muted look with .disabled in Bootstrap Pager
- What does a cell look like?
- Add a shadow to an element with Bootstrap 4
- Make a left-aligned with Bootstrap

Advertisements