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