font type bold in css code example Example 1: css text bold font-weight: bold; Example 2: how to bold text css inline <p style="font-weight:bold">Hey there</p>