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

What is the difference between Bold text and strong text!/?

13th Nov 2016, 2:06 PM
Shreyas Das
Shreyas Das - avatar
17 Answers
+ 16
You mean <b> vs <strong>? The short answer is: just use <strong>. The long answer: Semantics! In the HTML 4 Standard (here to be precise: https://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#edef-B) it says that <b> is supposed to render text as bold. And that's it! These days it's generally agreed upon that for all design stuff we should be using CSS, and HTML should only convey *meaning*. <b> carries no meaning, like <h1> or <table> do, all it does is "render text as bold". You can tell by how they changed it's definition in HTML 5 (http://w3c.github.io/html-reference/b.html#b) that they sound a bit embarrassed that it even exists :D "offset text conventionally styled in bold", I mean c'mon. <strong> however represents "text with strong importance" (http://w3c.github.io/html-reference/strong.html#strong) and the standard says nothing about boldness. Browsers just happen to render <strong> text as bold by default. Since bold stuff is usually important anyway, <strong> seems like a logical choice!
13th Nov 2016, 2:47 PM
Schindlabua
Schindlabua - avatar
+ 5
strong text is fitted bold text is fat
14th Nov 2016, 12:37 PM
Ermyas
Ermyas - avatar
+ 3
From the HTML lessons: Browsers display <strong> as <b>, and <em> as <i>. However, the meanings of these tags differ: <b> and <i> define bold and italic text, respectively, while <strong> and <em> indicate that the text is "important". So although the visual representation is basically idential. <Strong> is generally used to identify important text
15th Nov 2016, 12:15 PM
Pink Lemonade
+ 2
To be honest, there isnt much of a difference....
13th Nov 2016, 2:25 PM
Aquarius
Aquarius - avatar
+ 2
Strong has meaning, while bold is visual eye candy. Applications viewing the code will react differently to the two, based on the programming and user settings. Someone with a visual disability might use something that voices a page, at which point, strong is voiced strongly, while bold might be overlooked and voiced like any other text. You can also use <em>, over italics to emphasize text. It could probably be used by search engines differently too, since they like to search your page for quotes to put under links. Semantic tags should be used in their proper place when making a page. You never know who will be viewing them with what new application in the future.
16th Nov 2016, 3:42 PM
Marc Boutin
Marc Boutin - avatar
+ 1
Fill in the correct tags: < > important text < strong> < > subscripted text </ >
25th Aug 2019, 2:13 PM
rishabh khare
rishabh khare - avatar
0
b tag is used just to make the text bold strong tag is used to make the line bold which is important to me.. for eg: <html> <head></head> <body> <b>this line is just bold</b> <strong>this line is important(while writing code i know this line is important coz i used the strong tag)</strong> </body> </html> hope it helps.. else it depends on the coder wat to use personally i preffer this method..
16th Nov 2016, 4:04 PM
Karan Pahwa
Karan Pahwa - avatar
0
Well <strong> is more stable to use then <b> because <strong> supports mobile users when <b> doesn't
22nd Nov 2016, 12:11 AM
Mutant Gaming
Mutant Gaming - avatar
0
I'm stuck on the way to put the strong and em and I in the other places
27th Nov 2016, 2:30 PM
Sasha Childs
Sasha Childs - avatar
0
sasha grey
3rd Dec 2016, 9:10 AM
Ayush
Ayush - avatar
0
bold text just bold and don't.important but strong text are important like address and use the strong is matter because engine search find important word or terms and show your web site quickly
5th Dec 2016, 8:25 AM
Shahryar Tarnasi
Shahryar Tarnasi - avatar
- 1
bro
15th Nov 2016, 4:19 PM
Bharat Saini
Bharat Saini - avatar
- 1
just strong for a important text we used and b not important only be bold and this importance for search engine
16th Nov 2016, 6:38 AM
Shahryar Tarnasi
Shahryar Tarnasi - avatar
- 1
6hrs
16th Nov 2016, 1:24 PM
вαĸя sαєєɒ
вαĸя sαєєɒ - avatar
- 2
help
15th Nov 2016, 4:19 PM
Bharat Saini
Bharat Saini - avatar
- 2
coding
15th Nov 2016, 4:19 PM
Bharat Saini
Bharat Saini - avatar
- 2
?
15th Nov 2016, 4:20 PM
Bharat Saini
Bharat Saini - avatar