bold in html or css code example Example 1: css bold text .text { font-weight: bold; } Example 2: html text tag <text>Your Text...</text>