text align center class in bootstrap 4 code example

Example 1: font weight bootstrap class

<p class="font-weight-bold">Bold text.</p>
<p class="font-weight-normal">Normal weight text.</p>
<p class="font-weight-light">Light weight text.</p>
<p class="font-italic">Italic text.</p>

Example 2: bootstrap text center in div

<!-- recommended method -->
<div class="col-xs-1 text-center">

Example 3: lowercase bootstrap class

<p class="text-lowercase">Lowercased text.</p>
<p class="text-uppercase">Uppercased text.</p>
<p class="text-capitalize">CapiTaliZed text.</p>

Tags:

Html Example