Strong versus b | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Strong versus b

In HTML is it preferred to use <b> or <strong> for bold characters? what's the difference?

24th Feb 2017, 2:25 PM
Ioanna Zapalidi
2 Answers
+ 1
so we don't use b because it reminds of css? while strong has to do with the semantics?
24th Feb 2017, 3:32 PM
Ioanna Zapalidi
0
b - just make font weight bold. strong - is kind of semantic elements that at the time making him bold
24th Feb 2017, 2:53 PM
Yurii Zadorozhnyi
Yurii Zadorozhnyi - avatar