What is the difference between html bold text and strong text? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 6

What is the difference between html bold text and strong text?

In html the bold text and the strong text looks exactly same. Then why we should use bold text and strong text separately??

19th Mar 2017, 6:08 AM
Prateek Jena
Prateek Jena - avatar
4 Antworten
+ 14
The importance matters! <strong> has more importance that <b> tag. where Importance=Preference=priority
19th Mar 2017, 6:37 AM
Sachin Artani
Sachin Artani - avatar
+ 8
They have the same effect on normal web browser rendering engines, but there is afundamental difference between them. As the author writes in a discussion list post: Think of three different situations: web browsersblind peoplemobile 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 amongst 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 howthe text it surrounds should be displayed(e.g., "this text should be bold").
19th Mar 2017, 6:52 AM
Abed Nego Ragil Putra
Abed Nego Ragil Putra - avatar
+ 2
I myselfv prefer Sachins answer. If you still don't get it, picture yourself saying 'NO or STOP' to a sibling to prevent them from Harm.
30th Nov 2018, 8:43 PM
Lisa Gatto
Lisa Gatto - avatar
+ 1
I think <b>tag is good
1st Jan 2019, 7:44 PM
Achal Anand
Achal Anand - avatar