What's the difference between <b> and <strong> tags? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's the difference between <b> and <strong> tags?

20th Jul 2017, 4:50 PM
Lwin Moe Kyaw
Lwin Moe Kyaw - avatar
3 Answers
+ 13
The b element represents a span of text offset from its surrounding content "without conveying any extra emphasis or importance", and for which the conventional typographic presentation is bold text; for example, keywords in a document abstract, or product names in a review. <strong> is different. It "represents a span of text with strong importance." There is semantic meaning of importance here. In fact, a <strong> tag within another <strong> tag has even more importance. There is nested importance. ;]
20th Jul 2017, 4:56 PM
Dev
Dev - avatar
+ 2
can we use both <b> and <strong> in place of each other...... does it affects search engine crawlers...which one will be better for higher ranking in search result
20th Jul 2017, 6:09 PM
Anubhav Yadav
Anubhav Yadav - avatar
+ 1
Thank you for your answer ^^
20th Jul 2017, 4:59 PM
Lwin Moe Kyaw
Lwin Moe Kyaw - avatar