+ 4

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

30th Mar 2017, 7:07 AM
DANUSH R
DANUSH R - avatar
3 Antworten
+ 5
Think of three different situations: web browsers blind people mobile phones "Bold" is a style - when you say "bold a word", people basically know that it means to add more, let's say "ink", around the letters until they stand out more among the rest of the letters. That, unfortunately, means nothing to a blind person. On mobile phones and other PDAs, text is already bold because screen resolution is very small. You can't bold a bold without screwing something up. <b> is a style - we know what "bold" is supposed to look like. <strong> however is an indication of how something should be understood. "Strong" could (and often does) mean "bold" in a browser, but it could also mean a lower tone for a speaking program like Jaws (for blind people) or be represented by an underline (since you can't bold a bold) on a Palm Pilot. HTML was never meant to be about styles. Do some searches for "Tim Berners-Lee" and "the semantic web." <strong> is semantic—it describes the text it surrounds (e.g., "this text should be stronger than the rest of the text you've displayed") as opposed to describing how the text it surrounds should be displayed (e.g., "this text should be bold").
30th Mar 2017, 7:16 AM
Akwin Lopez
Akwin Lopez - avatar
+ 3
both do the same visual effects but browsers do not give them the same importance. google bot for example while visiting your page will be more interested in what's been written between the <strong> ..
30th Mar 2017, 7:20 AM
NCIBI Ali
NCIBI Ali - avatar
+ 2
there are no differences by default. but you can edit one of them in css so they can be different in practice ;)
30th Mar 2017, 7:19 AM
Ivan Kerepčić
Ivan Kerepčić - avatar