What is the difference between bold text and stong text? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the difference between bold text and stong text?

21st Feb 2018, 3:57 PM
Gabrielo Sombra
Gabrielo Sombra - avatar
3 Answers
+ 15
The <b> element defines bold text, without any extra importance. The <strong> element defines strong text, with added semantic "strong" importance. https://www.w3schools.com/hTML/html_formatting.asp
21st Feb 2018, 4:38 PM
NezhnyjVampir
+ 2
Thanks
22nd Feb 2018, 12:51 AM
Gabrielo Sombra
Gabrielo Sombra - avatar
+ 1
There's no difference in design. The meaning is just different. When text is surrounded with <strong></strong> tags it means that the text inside is more important. It's a semantic element.
21st Feb 2018, 4:45 PM
Toni Isotalo
Toni Isotalo - avatar