What is the difference between the <strong> and <b> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between the <strong> and <b>

19th Aug 2019, 6:39 PM
Dimatha
Dimatha - avatar
3 Answers
+ 1
it's really all about semantic HTML. <b/> tag doesn't tell you anything about the content, and is thus not a semantic representation of your content. <strong> on the other hand gives you an indication about the semantic meaning of the item you're putting the tag around. Same goes with <i> and <em>.
19th Aug 2019, 6:52 PM
Asmit joy
Asmit joy - avatar
0
Matt says that the only difference between the two tags is that that <strong> tag refers to presentation, while the <b> tag is a semantic label. But he reminds us that in practice they both do the same thing, every browser just uses the tags to make text bold. [1] [1] https://www.google.com/amp/s/www.searchenginejournal.com/matt-cutts-strong-bold-tags-seo/74073/amp/
19th Aug 2019, 6:52 PM
Tom Hammerbacher
Tom Hammerbacher - avatar
0
Thank you both
19th Aug 2019, 6:54 PM
Dimatha
Dimatha - avatar