update string make bold one word in html code example Example 1: css bold text .text { font-weight: bold; } Example 2: html make text bold <b> Bold Text </b>