+ 1

What is difference between strong and bold in formatting

29th Jul 2016, 12:47 PM
vidhya p naik
vidhya p naik - avatar
2 Réponses
+ 2
In HTML5 <strong> and <b> both exist and have a different meaning. The <b> tag is for "offset text conventionally styled in bold". If you read deeper into the details you'll see it adds, "without conveying any extra emphasis or importance". <strong> is different. It "represents a span of text with strong importance." There is semantic meaning of importance here. In fact, a <strong> tag within another <strong>tag has even more importance.
29th Jul 2016, 2:51 PM
Saurav S Shekhar
Saurav S Shekhar - avatar
0
they both look the same, so b is used a s a shortcut for strong, but strong is when you want to emphasise something important, and b (bold) is a way of drawing attention to certain words.
9th Aug 2016, 7:53 AM
Goliathon's Universe (Dylan Houchin)
Goliathon's Universe (Dylan Houchin) - avatar