bold text bootstrap 5 code example Example 1: text-bold bootstrap <p class="font-weight-bold">Bold text.</p> Example 2: bootstrap 4 font bold font-weight-bold