Apply the size utility to the existing element
Bootstrap 5.3 documents fs-1 through fs-6, with the larger sizes at the lower numbers. Try <h2 class="fs-4">Account settings</h2>. This keeps the h2 element while changing its visual size. Confirm the Bootstrap version and stylesheet when a class has no effect.
Check which typography properties still need attention
Bootstrap distinguishes the size utilities from heading styles that can also apply font weight and line height. Compare a wrapped h2 with a short h2 at the same utility size. If you need a different line height, treat it as a separate decision and proof the two-line result.
Compare the rendered layout across screen widths
Check the longest heading and an ordinary paragraph at narrow and wide widths. Inspect the actual heading order in the page. For custom sizing beyond the framework scale, see the CSS font size guide. Try the homepage text generator for a separate copyable caption.
Your questions, answered.
Does fs-4 turn a heading into an h4?
The class changes the visual font size. The HTML element keeps its semantic role.
Which is larger, fs-1 or fs-6?
In the documented Bootstrap 5.3 scale, fs-1 is the larger size.
Sources & background
Sources supporting this page’s explanations. Practical examples are our editorial suggestions.