+ 3

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

20th Jul 2019, 3:52 AM
Kevin
12 Respuestas
+ 11
Sometimes web pages can be interpreted audibly like via a text to speech system in which case the <strong> tag will be 'spoken' at a higher volume whereas the <b> tag has no effect.
20th Jul 2019, 4:35 AM
Sonic
Sonic - avatar
+ 8
Short answer: Avoid using <b>, which is a legacy tag replaced by <strong> in HTML5 for semantic alternative. You can see my more detailed explanations in these other questions: https://www.sololearn.com/Discuss/1134758/?ref=app Answer: -------- Semantic HTML introduced new tags that focused on describing what the text means rather than what it looks like. So <strong> replaces <b> because the new tag doesn't describe the format of the text. Now, it won't be strange if strong doesn't mean bold anymore. Rather, it could be underlined and italics via CSS without having to change the tag to fit the format. The tags describing format should be avoided. They have been around for many years and should be deprecated at some point. ---- Here's another post where I explained more about semantic HTML5: https://www.sololearn.com/Discuss/1851537/?ref=app
20th Jul 2019, 5:03 AM
David Carroll
David Carroll - avatar
+ 5
<b> describes that the content should be displayed in bold style <strong> describes that the content is emphasized. This fits much better in the idea promoted by HTML5, that content and structure (semantics) should be independent and separate from how it is presented to the user (style). While they have the same effect in ~99.99% of the cases, it could make a difference if someone views your page with unusual methods, like using a screen-reader (e.g. blind people) or opening the page in a console based browser.
20th Jul 2019, 6:52 AM
Tibor Santa
Tibor Santa - avatar
+ 3
There is no difference, they are 2 different tags that do the same thing. They probably created <strong> first before discovering a shocking result that programmers are lazy and thus created <b>.
20th Jul 2019, 3:59 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
They mean the same thing bold and important.
20th Jul 2019, 3:53 AM
Roach Roach
+ 1
<b> is replaced by <strong> in HTML5 for semantic alternative.
23rd Jul 2019, 12:27 PM
Xubair
Xubair - avatar
+ 1
Avoid using <b> after closing h1 tag, use the <br/> for break the line , this is almost used in the html documents 📜🏜
4th Sep 2021, 4:20 AM
Shubham Bhatia
Shubham Bhatia - avatar
0
Lol Prometheus that sounds about right.
20th Jul 2019, 4:03 AM
Roach Roach
0
Search engines recognizes 'Strong' for emphasis or importance while 'b' is bold text. They may look the same but i don't think their functions are.
26th Jul 2019, 9:43 AM
Chioma Decency
Chioma Decency - avatar
0
Strong tag has a semantic meaning, while b has no meaning at all
9th Sep 2019, 8:17 PM
Hernan Aranda
Hernan Aranda - avatar
0
what ans
29th Oct 2020, 2:58 PM
Pratibha Rastogi
Pratibha Rastogi - avatar
0
Which level are you
30th May 2021, 7:18 PM
Naa