Html underline tag
- how to give bold in html
- how to make bold in html css
- how to give bold text in html
- how to make something bold in html
Italic tag in html...
How to Make the Text Bold in HTML
Solutions with HTML tags
To make the text bold in HTML, you can use the <b> or <strong> tag. They do the same, but they have different meanings.
In this tutorial, you’ll find some examples with <b> and <strong> tags, and we’ll explain the difference between them.
Example of making the text bold with the <b> tag:
Try it Yourself »
Result
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Bold tag in html with example
As you can see in the example above, the <b> tag makes the part of a text within it bold. But it is only a style and does not convey additional importance.
In HTML 5, it’s recommended to use the <b> tag only as a last option.
Example of making the text bold with the <strong> tag:
Try it Yourself »
Here, the <strong> tag is used to convey the strong importance of the content.
Thus, it can indicate how a particular part should be understood.
And, we suggest one more way of making the text bold by adding the CSS font-weight property set to “bold” through
- how to make hr bold in html
- how to make things bold in html