+ 1

Is strong and bold are same?

26th Aug 2017, 5:27 AM
Sreelekshmy Anil
2 odpowiedzi
+ 9
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. There is nested importance. The html5 spec is enlightening on this.
26th Aug 2017, 5:29 AM
GAWEN STEASY
GAWEN STEASY - avatar
- 1
When used alone, the output of both is same...
26th Aug 2017, 9:04 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar