What is the difference between strong and b tag in HTML?

Both make text bold. The difference is in the meaning. <strong> means the text is important, and screen readers read it with stress. <b> only draws attention without extra importance, like a product name.

<p><strong>Warning:</strong> do not touch this.</p>
<p>Try the <b>Pro</b> plan.</p>

The same difference is between <em> (emphasis) and <i> (italic for a technical term or a thought). Prefer strong and em for normal text. See HTML Formatting.


Learn more about the similar topics:
Tutorials
HTML Headings
HTML Paragraphs
HTML Styles
HTML Formatting
HTML Comments
HTML Symbols
Exercises & Assignments
Program to see difference between paragraphs & normal text with line break
Write a program to create a webpage to print values 1 to 5
Write a program to create a webpage to print your city name in red color.
Write a program to print a paragraph with different font and color.
Write an HTML program to display all six heading levels
Write an HTML program for text formatting (bold, italic, subscript, superscript)
Interview Questions & Answers
How to add comments in HTML?
How to add the copyright symbol to a web page?
What is the difference between strong and b tag in HTML?
What are HTML entities?
What is the difference between inline, internal and external CSS?