to make text bold in css code example Example 1: css bold text .text { font-weight: bold; } Example 2: how to bold in css font-weight: bold;