Bootstrap is a popular front-end framework that helps you design websites quickly using ready-made CSS and JavaScript classes. It helps your site look good on all screen sizes.
Add these links in your HTML <head> section:
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
Containers are used to center and pad your content. You can use:
.container – fixed width.container-fluid – full widthBootstrap uses a 12-column grid. Wrap columns inside .row and use .col classes.
Bootstrap gives simple text and heading styles.
This is a lead paragraph.
This text looks muted.
Centered text
Bootstrap styles all form elements beautifully.
Quick helper classes for spacing, text, borders, and colors.
Bootstrap offers many ready-made components like Alerts and Badges.