Sometimes we might want to display text with style. That it's font, color, make it bold, italic, underlined and many more. Adding whatever style is all based on the message that we want to pass across or getting someone's attention.
In this article, we will learn how to bold text in PHP? When we bold text we make the text stand out than another. We can bold a single word, a phrase, a sentence, a particular paragraph or a letter.
We use the html tag <b>...</b> to bold text inside the PHP scripts.
Example:
In this example, we will learn how to bold a sentence, a word, a character and a paragraph in PHP?
PHP code to make text bold
Output
need an explanation for this answer? contact us directly to get an explanation for this answer