Contents
HTML strong: Main Tips
- HTML
strong
tags emphasize important information in an HTML page. - In most browsers, it will be shown as bold text. HTML <b> tags work in the same manner.
<strong>
belongs to the group of semantic tags.- HTML
strong
element supports all global attributes. - You must use both starting and ending tags.
How to Bold Text in HTML
When you need to mark some text as more important, you can use HTML strong
tags:
Most browsers will show it as bolded text. However, some older browsers might underline it instead.

- Easy to use with a learn-by-doing approach
- Offers quality content
- Gamified in-browser coding experience
- The price matches the quality
- Suitable for learners ranging from beginner to advanced
- Free certificates of completion
- Focused on data science skills
- Flexible learning timetable

- Simplistic design (no unnecessary information)
- High-quality courses (even the free ones)
- Variety of features
- Nanodegree programs
- Suitable for enterprises
- Paid Certificates of completion

- A wide range of learning programs
- University-level courses
- Easy to navigate
- Verified certificates
- Free learning track available
- University-level courses
- Suitable for enterprises
- Verified certificates of completion
CSS vs. <strong> vs. <b>
If you are looking at how to bold text in HTML, you should know there are actually three options:
- CSS font-weight property
<strong>
- <b>
If all you need is bold styling, you can modify the CSS font-weight property to bold
:
Then, there are two types of tags in HTML for bold text. <b> is good when you need to style your text in bold, but without any extra emphasis.
HTML <strong>
tags have more of a semantic meaning. They represent text that is more important than the remaining part.
<p>This <b>sentence</b> is <b>bolded</b> randomly - <b>no</b> bolded
<b>word</b> is <b>more</b> important <b>in</b> any <b>manner</b>.</p>
<p>Now in <strong>this</strong> sentence, we put
special <strong>emphasis</strong> where it <strong>matters</strong>.</p>
Note: it's also common to use <strong> for notes and warnings in the page - just like in the beginning of this blockquote.
Browser support

Chrome

Edge

Firefox

IE

Opera

Safari
Mobile browser support

Chrome

Firefox

Opera
