Website Design with Bootstrap Grid

SEO and Web

Website Design with Bootstrap Grid

Jump to Learn

Website Design with Bootstrap Grid

Bootstrap Default Heading Sizes (<h1> to <h6>)

These are browser defaults overridden by Bootstrap’s CSS:

ElementClassFont SizeFont WeightNotes
h1.h140px500Largest heading
h2.h232px500Section headings
h3.h328px500Subsection heading
h4.h424px500Sub-subsection
h5.h520px500Small headings
h6.h616px500Minimal headings

Paragraph and Lead Text

ClassFont SizeFont WeightNotes
p16px400Default paragraph size
.lead20px300Slightly larger, lighter text (for intros)

Bootstrap 5 Default Line Heights

Element / ClassFont SizeLine Height (Unitless)Approx in Pixels
Headings (h1h6)Varies1.220% taller than font
Paragraph (p)16px1.524px
.lead text20px1.530px
.small14px1.521px
Table of Content